]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- When using Query.join() with an explicit clause for the
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 25 Oct 2008 18:04:59 +0000 (18:04 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 25 Oct 2008 18:04:59 +0000 (18:04 +0000)
commite82eebb368718ba1fe24853373399f0fbd2c17e4
treed1664d6cce3b78bdbce4c7fd63fd67920a7cda14
parentaf1bb6b95553db49af2dc2aa73b75a24b752c6bc
- When using Query.join() with an explicit clause for the
ON clause, the clause will be aliased in terms of the left
side of the join, allowing scenarios like query(Source).
from_self().join((Dest, Source.id==Dest.source_id)) to work
properly.
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/util.py
test/orm/query.py