]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The "evaulator" for query.update()/delete() won't work with multi-table
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Jul 2014 23:08:42 +0000 (19:08 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Jul 2014 23:08:42 +0000 (19:08 -0400)
commite38bb315fdd2cb327e05630aea805e1c4d8b1325
tree5cacaf9ca3ef7a91974b40c1b386847b17e79ca0
parent946cef15683cefb3d53c4a3651a06322676615b7
- The "evaulator" for query.update()/delete() won't work with multi-table
updates, and needs to be set to `synchronize_session=False` or
`synchronize_session='fetch'`; this now raises an exception, with a
message to change the synchronize setting.  This will be only a warning
in 0.9.7.  fixes #3117
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/evaluator.py
lib/sqlalchemy/orm/persistence.py
test/orm/test_update_delete.py