]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add BakedQuery.to_query() method
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 27 Aug 2018 15:07:48 +0000 (11:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 27 Aug 2018 18:59:08 +0000 (14:59 -0400)
commitb601051b217c435934cd41011c8a47de4c783e09
tree8874663e4ad0e9e682a2129f4669da9db3dd6add
parent90a772b19339b97517bc46f016122341528e440a
Add BakedQuery.to_query() method

Added new feature :meth:`.BakedQuery.to_query`, which allows for a
clean way of using one :class:`.BakedQuery` as a subquery inside of another
:class:`.BakedQuery` without needing to refer explicitly to a
:class:`.Session`.

Fixes: #4318
Change-Id: I528056c7d140036c27b95500d7a60dcd14784016
doc/build/changelog/unreleased_13/4318.rst [new file with mode: 0644]
doc/build/orm/extensions/baked.rst
lib/sqlalchemy/ext/baked.py
test/ext/test_baked.py