]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- eager loading will not "aliasize" "order by" clauses that were placed
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 14 Mar 2007 23:48:07 +0000 (23:48 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 14 Mar 2007 23:48:07 +0000 (23:48 +0000)
commita5bf257126f709b6d6cf55ce5b38e209f09d689c
treedc863f51855d623dcf713d9029c402165f4fc521
parent485fb57fc7fedc423bb4dc6f998e80b14382a42a
- eager loading will not "aliasize" "order by" clauses that were placed
in the select statement by something other than the eager loader
itself, to fix possibility of dupe columns as illustrated in
[ticket:495].  however, this means you have to be more careful with
the columns placed in the "order by" of Query.select(), that you have
explicitly named them in your criterion (i.e. you cant rely on the
eager loader adding them in for you)

- query._join_to (which powers join, join_via, etc) properly takes
secondary table into account when constructing joins
CHANGES
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/orm/mapper.py
test/orm/unitofwork.py
test/tables.py