diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-20 21:01:35 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-20 21:17:42 -0500 |
| commit | b9318c98637bbd5c19267728fcfe941668345325 (patch) | |
| tree | 10e97a4ee419b1eeeb8073ac4e516fd0592fc510 /lib/sqlalchemy/sql/selectable.py | |
| parent | f8d45fd5666c6d0285576798ecd4c409909fe810 (diff) | |
| download | sqlalchemy-b9318c98637bbd5c19267728fcfe941668345325.tar.gz | |
- Fixed the multiple-table "UPDATE..FROM" construct, only usable on
MySQL, to correctly render the SET clause among multiple columns
with the same name across tables. This also changes the name used for
the bound parameter in the SET clause to "<tablename>_<colname>" for
the non-primary table only; as this parameter is typically specified
using the :class:`.Column` object directly this should not have an
impact on applications. The fix takes effect for both
:meth:`.Table.update` as well as :meth:`.Query.update` in the ORM.
[ticket:2912]
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
0 files changed, 0 insertions, 0 deletions
