]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- eager loading with LIMIT/OFFSET applied no longer adds the primary
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 3 Nov 2007 23:17:34 +0000 (23:17 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 3 Nov 2007 23:17:34 +0000 (23:17 +0000)
commit8ebc8ee5bae0f4bef465e8b5b4b46609cfdebc10
treec27fc44d024fa066c6ea8af752305ccb506e7019
parent0af3f8f35b5e46f749d328e6fae90f6ff4915e97
- eager loading with LIMIT/OFFSET applied no longer adds the primary
table joined to a limited subquery of itself; the eager loads now
join directly to the subquery which also provides the primary table's
columns to the result set.  This eliminates a JOIN from all eager loads
with LIMIT/OFFSET.  [ticket:843]
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/visitors.py
test/sql/selectable.py