]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Session.merge() will check the version id of the incoming
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 18 Jan 2011 21:34:34 +0000 (16:34 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 18 Jan 2011 21:34:34 +0000 (16:34 -0500)
commitb3dd50a8dac9f7660b7f497f444e6175fdf85713
tree49d6da2e2018092b273734df79bfd501cd4e4579
parent0f52225ba8a10500eff2b5671ca737479ff59bff
- Session.merge() will check the version id of the incoming
state against that of the database, assuming the mapping
uses version ids and incoming state has a version_id
assigned, and raise StaleDataError if they don't
match.  [ticket:2027]
CHANGES
lib/sqlalchemy/orm/session.py
test/orm/test_versioning.py