]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Query.statement, Query.subquery(), etc. now transfer
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Jun 2010 00:07:44 +0000 (20:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Jun 2010 00:07:44 +0000 (20:07 -0400)
commit7a554d526745d6327e112460ea75f50d9ff2105f
tree54866c6b966dd0c7d9d65bcad08f0571fb28daa7
parent33f6dcc80b43e499562991d7bfaf4f896d55f445
- Query.statement, Query.subquery(), etc. now transfer
the values of bind parameters, i.e. those specified
by query.params(), into the resulting SQL expression.
Previously the values would not be transferred
and bind parameters would come out as None.

- Subquery-eager-loading now works with Query objects
which include params(), as well as get() Queries.
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/orm/test_query.py
test/orm/test_subquery_relations.py