]> 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:34:48 +0000 (11:34 -0400)
commit64c1299180c2d944142d54bea741355d474bcbde
treef044acb65d4f7af3e61f0038cb7b21e85daa0bf6
parenta32b917a8836fe0670385c2d11aff58589aefd9c
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
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