]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Allow multiple returning() calls
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Nov 2020 16:41:25 +0000 (11:41 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 11 Nov 2020 16:57:59 +0000 (11:57 -0500)
commit5b674ac6319a373e21dac1e4faf37c7354e61429
treec6eeb47d9563368531f09522a1b825d444615fd2
parent1f7969ae50d4be92f330d2cf6a2df9aba8b307bf
Allow multiple returning() calls

Multiple calls to "returning", e.g. :meth:`_sql.Insert.returning`,
may now be chained to add new columns to the RETURNING clause.

Fixes: #5695
Change-Id: Ie2dac4162f686c730e000e31dccfb38f9ce9c96e
doc/build/changelog/unreleased_14/5695.rst [new file with mode: 0644]
doc/build/tutorial/data.rst
lib/sqlalchemy/sql/dml.py
test/sql/test_returning.py