diff options
author | Gaëtan de Menten <gdementen@gmail.com> | 2009-11-17 18:35:06 +0000 |
---|---|---|
committer | Gaëtan de Menten <gdementen@gmail.com> | 2009-11-17 18:35:06 +0000 |
commit | 1bca0c42a3f4626f0273e61cf1b59ece37c3bd26 (patch) | |
tree | 43f62bb857eb9fbd9824ff50a466b7c36f30ed6b /test/dialect/test_postgresql.py | |
parent | f96130aceffd4f69dd5ce4a1afaddd6f7f209cf7 (diff) | |
download | sqlalchemy-1bca0c42a3f4626f0273e61cf1b59ece37c3bd26.tar.gz |
- sqlite
- DATE, TIME and DATETIME types can now take optional storage_format and
regexp argument. storage_format can be used to store those types using
a custom string format. regexp allows to use a custom regular expression
to match string values from the database.
- Time and DateTime types now use by a default a stricter regular
expression to match strings from the database. Use the regexp argument
if you are using data stored in a legacy format.
- __legacy_microseconds__ on SQLite Time and DateTime types is not
supported anymore. You should use the storage_format argument instead.
- Date, Time and DateTime types are now stricter in what they accept as
bind parameters: Date type only accepts date objects (and datetime ones,
because they inherit from date), Time only accepts time objects, and
DateTime only accepts date and datetime objects.
Diffstat (limited to 'test/dialect/test_postgresql.py')
0 files changed, 0 insertions, 0 deletions