]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The subquery wrapping which occurs when joined eager loading
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Mar 2015 22:23:23 +0000 (18:23 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Mar 2015 22:23:23 +0000 (18:23 -0400)
commit201ba16fc88439fa100023369dfdfe22625253c9
tree66737cff2b959230969580d1cbbb3b921c778179
parent66fa5b50a53ebe234f19e23b7dfa6ff310969996
- The subquery wrapping which occurs when joined eager loading
is used with a one-to-many query that also features LIMIT,
OFFSET, or DISTINCT has been disabled in the case of a one-to-one
relationship, that is a one-to-many with
:paramref:`.relationship.uselist` set to False.  This will produce
more efficient queries in these cases.
fixes #3249
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/orm/strategies.py
test/orm/inheritance/test_relationship.py
test/orm/test_eager_relations.py