]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Improved the behavior of aliased() objects such that they more
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Nov 2008 02:52:30 +0000 (02:52 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Nov 2008 02:52:30 +0000 (02:52 +0000)
commita5dfbeedb9f7ae148081d1dbc3e91e876526eb90
tree070cede0b9a927c5672a7b847113a9947a2726ce
parent334d5118bb7bcf6fcf052c1b12182009fe54ebef
- Improved the behavior of aliased() objects such that they more
accurately adapt the expressions generated, which helps
particularly with self-referential comparisons. [ticket:1171]

- Fixed bug involving primaryjoin/secondaryjoin conditions
constructed from class-bound attributes (as often occurs
when using declarative), which later would be inappropriately
aliased by Query, particularly with the various EXISTS
based comparators.
13 files changed:
CHANGES
examples/nested_sets/nested_sets.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/sql/util.py
test/ext/declarative.py
test/orm/inheritance/abc_inheritance.py
test/orm/inheritance/query.py
test/orm/query.py
test/sql/selectable.py