]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Query called in the context of an expression will render
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Feb 2010 18:37:47 +0000 (18:37 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 8 Feb 2010 18:37:47 +0000 (18:37 +0000)
commit9deea462a5188c2d9faa93d493abb4042493b5f9
tree31ffae2ce44b83420d7394f9f619934c8348ef49
parentacafbca090ef2eba809da562b3690c17497f0368
- Query called in the context of an expression will render
disambiguating labels in all cases.    Note that this does
not apply to the existing .statement and .subquery()
accessor/method, which still honors the .with_labels()
setting that defaults to False.

- Query.union() retains disambiguating labels within the
returned statement, thus avoiding various SQL composition
errors which can result from column name conflicts.
[ticket:1676]
CHANGES
lib/sqlalchemy/orm/query.py
test/orm/test_query.py