]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
implement RETURNING * for ORM DML
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Aug 2023 14:47:11 +0000 (10:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Aug 2023 15:56:58 +0000 (11:56 -0400)
commitfa081f36d2a3e859b2f71ed4c8dfa31ce17fecfd
tree7b58e40ad124933698e12e558438abc2f68d3765
parent1377f33075a0e4230c88506d2bfd1e847a336da5
implement RETURNING * for ORM DML

Implemented the "RETURNING '*'" use case for ORM enabled DML statements.
This will render in as many cases as possible and return the unfiltered
result set, however is not supported for multi-parameter "ORM bulk INSERT"
statements that have specific column rendering requirements.

Fixes: #10192
Change-Id: I04297d08eacb9ad1d5fd6d9dd21afefb8e9dc0b1
doc/build/changelog/unreleased_20/10192.rst [new file with mode: 0644]
lib/sqlalchemy/orm/bulk_persistence.py
lib/sqlalchemy/orm/context.py
test/orm/dml/test_bulk_statements.py
test/orm/dml/test_update_delete_where.py
test/orm/test_core_compilation.py
test/orm/test_loading.py
test/requirements.py