]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Rework _apply_joins(), _prep_for_joins() totally
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 15 Aug 2016 20:39:12 +0000 (16:39 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 15 Aug 2016 21:36:03 +0000 (17:36 -0400)
commit323e6e7f9f6a731103cfd19d774024f7f0f84377
tree9dd7d883f53fcb7e72f5aa9129103b0192d91b5e
parent94a95b3e8fa0e6c8f9201f85a5f119cd424d72ac
Rework _apply_joins(), _prep_for_joins() totally

The approach here is still error prone
and hard to follow.  Reorganize the whole
thing to take a pretty blunt approach to
the structure of to_join().  Also fix some never-called
code (!) in _prep_for_joins() and ensure we re-use
an aliased object.

Fixes: #3774
Change-Id: Ie6319415ae7213b4a33eac2ab70803ad2880d340
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/strategies.py
test/orm/test_of_type.py