]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add explicit USING support to DELETE
authorcjc0013 <cjc0013@users.noreply.github.com>
Thu, 11 Jun 2026 21:23:04 +0000 (17:23 -0400)
committerMichael Bayer <mike_mp@zzzcomputing.com>
Mon, 22 Jun 2026 19:25:23 +0000 (19:25 +0000)
commit74ef020b969a9ae0e124762d4531c85b1834f60e
tree92630b3954fc90edf3e6b20f3b370a19d84aa93d
parentddf3b6589fd6ccb2affbaea5d4f400a8c1ad02d8
Add explicit USING support to DELETE

Added :meth:`_sql.Delete.using`, allowing explicit FROM expressions such as
joins to be rendered in backend-specific multiple-table DELETE forms
including MySQL/MariaDB ``DELETE .. USING``.  Pull request courtesy
cjc0013.

Fixes: #8130
Closes: #13334
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/13334
Pull-request-sha: df5644e96158a2424c85773d335bab6cc0c8c038

Change-Id: I9cadfc7ebb1c8b4f6a7433de3fbddbad205f545d
doc/build/changelog/migration_21.rst
doc/build/changelog/unreleased_21/8130.rst [new file with mode: 0644]
doc/build/tutorial/data_update.rst
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/sql/dml.py
test/sql/test_compare.py
test/sql/test_delete.py