]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Base mssql.DATETIMEOFFSET on DateTime
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 13 Nov 2019 15:09:54 +0000 (10:09 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 13 Nov 2019 15:09:54 +0000 (10:09 -0500)
commit2644d4cb51ed580cb9c4eb3cb600a056a2c893a3
tree6f1bcd6779ac9c8637ed2bd5c2cbd820ad4d2cb6
parentbe2cd2791ea65fb76b193a34752361f1e76d68b2
Base mssql.DATETIMEOFFSET on DateTime

Fixed the base class of the :class:`.mssql.DATETIMEOFFSET` datatype to
be based on the :class:`.DateTime` class hierarchy, as this is a
datetime-holding datatype.

Note however that at the moment the pyodbc driver has only limited
support for this datatype and will not work with all ODBC drivers.

References: https://github.com/mkleehammer/pyodbc/issues/134

Fixes: #4980
Change-Id: I946cf22642eea4beee2a605d91218c6fd817740c
doc/build/changelog/unreleased_14/4980.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py