]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add prop.secondary to FROM for dynamic loader
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Oct 2018 14:42:50 +0000 (10:42 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Oct 2018 15:50:52 +0000 (11:50 -0400)
commitd080aae128b081e6870dae325cb90202329784b4
tree3c149e636f2a18885c1572918d9963c9b2592e8b
parentb4d42a84e22652c16b914a2f76421718be913027
Add prop.secondary to FROM for dynamic loader

Fixed bug where "dynamic" loader needs to explicitly set the "secondary"
table in the FROM clause of the query, to suit the case where the secondary
is a join object that is otherwise not pulled into the query from its
columns alone.

Fixes: #4349
Change-Id: I397f62abd5603efa4fb273586d0f772bf8c8fbbf
doc/build/changelog/unreleased_12/4349.rst [new file with mode: 0644]
lib/sqlalchemy/orm/dynamic.py
test/orm/test_dynamic.py