]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
implement is_derived_from() for DML
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Feb 2025 16:38:53 +0000 (11:38 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Feb 2025 19:43:19 +0000 (14:43 -0500)
commitb281402140683279c2aca2363f2acdb94929507f
tree4b96a44907319daddb0462a01be385be7ea5f549
parent9d723b32dbf8d1cd9d7e7ddb47684b9f96fffca8
implement is_derived_from() for DML

Fixed bug where using DML returning such as :meth:`.Insert.returning` with
an ORM model that has :func:`_orm.column_property` constructs that contain
subqueries would fail with an internal error.

Fixes: #12326
Change-Id: I419f645769a346c229944b30ac8fd4a0efe1646d
doc/build/changelog/unreleased_20/12326.rst [new file with mode: 0644]
lib/sqlalchemy/sql/dml.py
test/orm/dml/test_bulk_statements.py