]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support JOIN in UPDATE..FROM
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 13 Jun 2018 19:59:35 +0000 (15:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 24 Jun 2018 15:52:49 +0000 (11:52 -0400)
commitf90dfd45cd89c2919b747dad88d66b6bc29fd017
tree0c010b7f8e2aadb021f138a671cbcfcd51fe4034
parentd0363721c48a4e9531bc201f50f19d4375eca461
Support JOIN in UPDATE..FROM

The :class:`.Update` construct now accommodates a :class:`.Join` object
as supported by MySQL for UPDATE..FROM.  As the construct already
accepted an alias object for a similar purpose, the feature of UPDATE
against a non-table was already implied so this has been added.

Change-Id: I7b2bca627849384d5377abb0c94626463e4fad04
Fixes: #3645
(cherry picked from commit 58540ae93db30fb12f331587c32bb2d76db79ab3)
doc/build/changelog/unreleased_12/3645.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/sql/test_update.py