]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- refined and clarified query.__join() for readability rel_0_5_2
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 24 Jan 2009 17:29:56 +0000 (17:29 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 24 Jan 2009 17:29:56 +0000 (17:29 +0000)
commitc10104f0a89d2ef4bc4ea08aed8f1237d051351d
tree9b717b6aef40a991b8d471bba95a4b26537f4dcc
parentfebf00ea5d44e96117be882e7e125fd4e6115c59
- refined and clarified query.__join() for readability
- _ORMJoin() gets a new flag join_to_left to specify if
we really want to alias from the existing left side or not.  eager loading
wants this flag off in almost all cases, query.join() usually wants it on.
- query.join()/outerjoin() will now properly join an aliased()
construct to the existing left side, even if query.from_self()
or query.select_from(someselectable) has been called.
[ticket:1293]
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/util.py
test/orm/query.py