]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Return Row for CursorResult.inserted_primary_key
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 11 Apr 2021 21:15:55 +0000 (17:15 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 11 Apr 2021 21:15:55 +0000 (17:15 -0400)
commit41de9a86c022250effbdd5aed4253df34628e103
tree9ddf4e110803e1a7cfaa4e7e3c3e86b3609f33e2
parent7ea0d10c67b652895442c3a103e0813769309b9c
Return Row for CursorResult.inserted_primary_key

The tuple returned by :attr:`.CursorResult.inserted_primary_key` is now a
:class:`_result.Row` object with a named tuple interface on top of the
existing tuple interface.

Fixes: #3314
Change-Id: I85677ef60d8329648f368bf497f634758f4e087b
doc/build/changelog/unreleased_14/3314.rst [new file with mode: 0644]
doc/build/tutorial/data.rst
lib/sqlalchemy/engine/cursor.py
lib/sqlalchemy/sql/compiler.py
test/sql/test_insert_exec.py