]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add selectin loading
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 23 Mar 2017 21:55:43 +0000 (17:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 26 Apr 2017 20:08:57 +0000 (16:08 -0400)
commit19d2424e05fadf66044d914b13a405cb212b4100
tree351141593947112a00bed97a3d355a01136bf5ec
parent029d0f75385298f8056c04eba1d2f9563126a8a6
Add selectin loading

Adding a new kind of relationship loader that is
a cross between the "immediateload" and the "subquery"
eager loader, using an IN criteria to load related items
in bulk immediately after the lead query result is loaded.

Change-Id: If13713fba9b465865aef8fd50b5b6b977fe3ef7d
Fixes: #3944
16 files changed:
doc/build/changelog/changelog_12.rst
doc/build/changelog/migration_12.rst
doc/build/faq/ormconfiguration.rst
doc/build/orm/loading_relationships.rst
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/loading.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/relationships.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/strategy_options.py
regen_callcounts.tox.ini
test/aaa_profiling/test_orm.py
test/orm/test_selectin_relations.py [new file with mode: 0644]
test/orm/test_subquery_relations.py
test/profiles.txt
test/requirements.py