]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- query.from_self(), query.union(), others which do a
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Oct 2009 20:15:19 +0000 (20:15 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Oct 2009 20:15:19 +0000 (20:15 +0000)
commit3984cad7228fcc8fae9c3be93ecd86f6b08ed4b3
treecabf9bb15fef61a600827ab099eb3491c19b3e30
parentcf6c66e70ea406a27c4a8d5b79f9c629a62320fc
- query.from_self(), query.union(), others which do a
"SELECT * from (SELECT...)" type of nesting will do
a better job translating column expressions within the subquery
to the columns clause of the outer query.  This is
potentially backwards incompatible with 0.5, in that this
may break queries with literal expressions that do not have labels
applied (i.e. literal('foo'), etc.)
[ticket:1568]
CHANGES
lib/sqlalchemy/orm/query.py
test/orm/test_query.py