]> 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>
Thu, 14 Jun 2018 01:38:20 +0000 (21:38 -0400)
commit58540ae93db30fb12f331587c32bb2d76db79ab3
tree8a54bd2584b6a11ac705040e24e31f64c40aa366
parentda5323c2fae39aab45d305f723a73483563b2307
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
doc/build/changelog/unreleased_12/3645.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/sql/test_update.py