]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
propagate populate_existing for ORM bulk update
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Sep 2024 15:34:48 +0000 (11:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Sep 2024 15:35:49 +0000 (11:35 -0400)
commitadaeda9c8a23be5dc0b4d79e31d87e5feb72d5f1
tree394225338691907a1db01f77ae2ec89f233815f4
parente526b53bb0d1c77572d01e485b4a3bf3b56c4681
propagate populate_existing for ORM bulk update

Similar to #9742

Fixed bug in ORM bulk update/delete where using RETURNING with bulk
update/delete in combination with populate existing would fail to
accommodate the populate_existing option.

Fixes: #11912
Change-Id: Ib9ef659512a1d1ae438eab67332a691941c06f43
(cherry picked from commit 64c1299180c2d944142d54bea741355d474bcbde)
doc/build/changelog/unreleased_20/11912.rst [new file with mode: 0644]
lib/sqlalchemy/orm/bulk_persistence.py
test/orm/dml/test_bulk_statements.py