]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- SQLite Date, DateTime, and Time types only accept Python
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 9 Jul 2008 16:15:14 +0000 (16:15 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 9 Jul 2008 16:15:14 +0000 (16:15 +0000)
commite7e60c05c0dc5f6ee7f51a829c2e0635a26d95af
tree7c5824a7beb25ea2e76aa342caee6b06f55d9d78
parent36e7efa4eb51db50f1aaa8a98ab89c3af59400ae
- SQLite Date, DateTime, and Time types only accept Python
datetime objects now, not strings.  If you'd like to format
dates as strings yourself with SQLite, use a String type.
If you'd like them to return datetime objects anyway despite
their accepting strings as input, make a TypeDecorator around
String - SQLA doesn't encourage this pattern.
CHANGES
lib/sqlalchemy/databases/sqlite.py
test/dialect/sqlite.py