summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-02-11 12:12:19 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2016-02-11 12:27:28 -0500
commite5f1a3fb7dc1888ed187fdeae8171e4ff322dab6 (patch)
tree320ef9285c4a4477ab90d838c216cba979bc4fc9 /lib/sqlalchemy/orm
parent287aaa9d416b4f72179da320af0624b9ebc43846 (diff)
downloadsqlalchemy-e5f1a3fb7dc1888ed187fdeae8171e4ff322dab6.tar.gz
- 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
Diffstat (limited to 'lib/sqlalchemy/orm')
-rw-r--r--lib/sqlalchemy/orm/query.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/query.py b/lib/sqlalchemy/orm/query.py
index 8a25f570a..ad7b9130b 100644
--- a/lib/sqlalchemy/orm/query.py
+++ b/lib/sqlalchemy/orm/query.py
@@ -478,8 +478,6 @@ class Query(object):
"""Return the full SELECT statement represented by this
:class:`.Query` represented as a common table expression (CTE).
- .. versionadded:: 0.7.6
-
Parameters and usage are the same as those of the
:meth:`.SelectBase.cte` method; see that method for
further details.
@@ -528,7 +526,7 @@ class Query(object):
.. seealso::
- :meth:`.SelectBase.cte`
+ :meth:`.HasCTE.cte`
"""
return self.enable_eagerloads(False).\