]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add ``Table.autoincrement_column``
authorFederico Caselli <cfederico87@gmail.com>
Fri, 10 Feb 2023 20:37:20 +0000 (21:37 +0100)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Feb 2023 19:45:49 +0000 (14:45 -0500)
commit3d00c101be9feb73b87b8ad07ddc5bc14cd94cdb
tree27c68da1e755359bf6c9703082ba8b90ce9002ef
parenteb0861e8e69f8ce702301c558e552e1aeb2e9eba
Add ``Table.autoincrement_column``

Added public property :attr:`_sql.Table.autoincrement_column` that
returns the column identified as autoincrementing in the column.

Fixes: #9277
Change-Id: If60d6f92e0df94f57d00ff6d89d285c61b02f5a4
doc/build/changelog/unreleased_20/9277.rst [new file with mode: 0644]
lib/sqlalchemy/sql/schema.py
test/sql/test_defaults.py