]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug which caused "row switch" logic, that is an
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 Mar 2010 16:58:13 +0000 (12:58 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 Mar 2010 16:58:13 +0000 (12:58 -0400)
commit84c6857d214725246c28f97b4dba9d52385f9a37
tree469a3d2e4a18c0c7b7122eda68faa05a426ecc47
parente5256b76300ab704f386709c997381c8bf8a9358
- Fixed bug which caused "row switch" logic, that is an
INSERT and DELETE replaced by an UPDATE, to fail when
version_id_col was in use. [ticket:1692]

- Added "version_id_generator" argument to Mapper, this is a
callable that, given the current value of the "version_id_col",
returns the next version number.  Can be used for alternate
versioning schemes such as uuid, timestamps.  [ticket:1692]
.hgignore
CHANGES
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/mapper.py
test/orm/test_relationships.py
test/orm/test_unitofwork.py
test/orm/test_versioning.py [new file with mode: 0644]