]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The SQLite dialect, when using the :class:`.sqlite.DATE`,
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 5 Dec 2014 19:46:43 +0000 (14:46 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 5 Dec 2014 19:46:43 +0000 (14:46 -0500)
commit0ce045bd853ec078943c14fc93b87897d2169882
tree93f936a721b0cfffd30437289bf51585b9f4b6fa
parentec6214457ed71f0ae87d83076e084214650aae5d
- The SQLite dialect, when using the :class:`.sqlite.DATE`,
:class:`.sqlite.TIME`,
or :class:`.sqlite.DATETIME` types, and given a ``storage_format`` that
only renders numbers, will render the types in DDL as
``DATE_CHAR``, ``TIME_CHAR``, and ``DATETIME_CHAR``, so that despite the
lack of alpha characters in the values, the column will still
deliver the "text affinity".  Normally this is not needed, as the
textual values within the default storage formats already
imply text.
fixes #3257
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/dialects/sqlite/base.py
test/dialect/test_sqlite.py