]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Improve handling of sentinel columns
authorFederico Caselli <cfederico87@gmail.com>
Fri, 29 Dec 2023 21:30:24 +0000 (22:30 +0100)
committerMichael Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Jul 2025 19:28:00 +0000 (19:28 +0000)
commit06204730851785ffcb230774d27e5ba555186580
treed03b90547042f976dfd08093bf3953ac4a45d3bf
parent45a5c31e5c49e9b6e288465bcce30b87136871c0
Improve handling of sentinel columns

Fixed issue in "insertmanyvalues" feature where an INSERT..RETURNING
that also made use of a sentinel column to track results would fail to
filter out the additional column when :meth:`.Result.unique` were used
to uniquify the result set.

Fixes: #10802
Change-Id: Ie4f9dab96193099002088c5219cc41a543a00f62
doc/build/changelog/unreleased_21/10802.rst [new file with mode: 0644]
lib/sqlalchemy/engine/cursor.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/engine/result.py
lib/sqlalchemy/orm/loading.py
test/requirements.py
test/sql/test_insert_exec.py
test/sql/test_resultset.py