summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-01-10 13:16:43 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2020-01-10 13:19:05 -0500
commit48b37a062a26a41bd5c9243d2365a6c06a77a347 (patch)
tree462255fb86475ee65690147063f52ce38963b47f /lib/sqlalchemy/dialects/postgresql/base.py
parent4b17d0306421cab9821125fb774d1ff89b36e77e (diff)
downloadsqlalchemy-48b37a062a26a41bd5c9243d2365a6c06a77a347.tar.gz
Integrate mapper-level version_id_col with versioned_history
as the versioned_history example supplies an integer version counter for the purposes of generating an audit trail, this counter is also suited to be used for optimistic concurrency detection using the version_id_col feature. Build upon the test that was first added in ac54ba0f2d8df5a76b6852841b6b3321c0e6c0e2 to provide a flag and some basic documentation. Fixes: #2861 Change-Id: I50236beae4c49b33ada8fdcc4c524273b4e21c75
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
0 files changed, 0 insertions, 0 deletions