]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- UPDATE statements can now be batched within an ORM flush
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Aug 2014 00:47:49 +0000 (20:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Aug 2014 00:47:49 +0000 (20:47 -0400)
commitbc509dd50d7b65e35412e2be67bd37a6c19e7119
tree47550a3b782e691dd6632eeb2eae575d00376f09
parentf0a56bc5aa8cb0ca7b642eaa99093ade2065d4b5
- UPDATE statements can now be batched within an ORM flush
into more performant executemany() call, similarly to how INSERT
statements can be batched; this will be invoked within flush
to the degree that subsequent UPDATE statements for the
same mapping and table involve the identical columns within the
VALUES clause, as well as that no VALUES-level SQL expressions
are embedded.
- some other inlinings within persistence.py
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/persistence.py
test/orm/test_unitofwork.py
test/orm/test_unitofworkv2.py