]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add SQL Server TIMESTAMP / ROWVERSION datatypes
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Oct 2017 19:52:46 +0000 (15:52 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 4 Oct 2017 13:27:31 +0000 (09:27 -0400)
commitfadebedff0049fee9575632f57561143aa8a801e
tree72925808cdc80ebf6fe71e76c83fd9ff33109319
parentf846a789b78f977b4d7e8e16b412b07e77f2ab13
Add SQL Server TIMESTAMP / ROWVERSION datatypes

SQL Server has an entirely different use for the TIMESTAMP
datatype that is unrelated to the SQL standard's version of this
type.   It is a read-only type that returns an incrementing
binary value.  The ROWVERSION name will supersede the TIMESTAMP
name.  Implement datatype objects for both, separate from the
base DateTime/TIMESTAMP class hierarchy, and also implement
an optional integer coercion feature.

Change-Id: Ie2bd43b7aac57760b8ec6ff6e26460e2086a95eb
Fixes: #4086
doc/build/changelog/unreleased_12/4086.rst [new file with mode: 0644]
doc/build/dialects/mssql.rst
lib/sqlalchemy/dialects/mssql/__init__.py
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/mssql/test_types.py
test/engine/test_reflection.py