]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added official support for a CTE used by the SELECT present
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 8 May 2015 16:37:55 +0000 (12:37 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 8 May 2015 16:42:36 +0000 (12:42 -0400)
commit87c605e3dc8b81c494aec60ccb05d20edc61b5d9
treef30f187253ddd22e44cfc4b9b69a184fdf3af6ef
parent3c706420122630c6c5589eeba5aa2e7528e62f1b
- Added official support for a CTE used by the SELECT present
inside of :meth:`.Insert.from_select`.  This behavior worked
accidentally up until 0.9.9, when it no longer worked due to
unrelated changes as part of :ticket:`3248`.   Note that this
is the rendering of the WITH clause after the INSERT, before the
SELECT; the full functionality of CTEs rendered at the top
level of INSERT, UPDATE, DELETE is a new feature targeted for a
later release.
fixes #3418

(cherry picked from commit eb1bb84fbc10c801c7269a3d38c9e0235327857e)
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/sql/compiler.py
test/sql/test_insert.py