]> 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:44:35 +0000 (17:44 -0400)
commitbba76c69ba53a8878f2784bce2b25df1763fa35b
tree98a2bce4137dd3e8fcbad6f1965c05bf5c988d0b
parent009cac8452e8ed9be7ffabb6ea1ba4a5cd35c8d9
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
(cherry picked from commit 323e6e7f9f6a731103cfd19d774024f7f0f84377)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/strategies.py
test/orm/test_of_type.py