]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- CTE functionality has been expanded to support all DML, allowing
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 11 Feb 2016 17:12:19 +0000 (12:12 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 11 Feb 2016 17:27:28 +0000 (12:27 -0500)
commite5f1a3fb7dc1888ed187fdeae8171e4ff322dab6
tree320ef9285c4a4477ab90d838c216cba979bc4fc9
parent287aaa9d416b4f72179da320af0624b9ebc43846
- CTE functionality has been expanded to support all DML, allowing
INSERT, UPDATE, and DELETE statements to both specify their own
WITH clause, as well as for these statements themselves to be
CTE expressions when they include a RETURNING clause.
fixes #2551
12 files changed:
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst
doc/build/core/selectable.rst
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/crud.py
lib/sqlalchemy/sql/dml.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/testing/assertions.py
test/sql/test_cte.py
test/sql/test_insert.py