]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- rework of Query._adapt_clause to support [ticket:2155],
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 30 Apr 2011 18:43:03 +0000 (14:43 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 30 Apr 2011 18:43:03 +0000 (14:43 -0400)
commitebb803395be1708a1c7fd02b43eff6330a91750d
treeed2a366c1be32e59e5380566ff0cff8eb8c19a4e
parent46daefe5b09192b1669be4fe48e84faa8d54008c
- rework of Query._adapt_clause to support [ticket:2155],
be clearer in its intent.
- Fine tuning of Query clause adaptation when
from_self(), union(), or other "select from
myself" operation, such that plain SQL expression
elements added to filter(), order_by() etc.
which are present in the nested "from myself"
query *will* be adapted in the same way an ORM
expression element will, since these
elements are otherwise not easily accessible.
[ticket:2155]
CHANGES
lib/sqlalchemy/orm/query.py
test/orm/test_froms.py
test/orm/test_query.py