]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- eagerload(), lazyload(), eagerload_all() take an optional
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Dec 2007 19:33:36 +0000 (19:33 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Dec 2007 19:33:36 +0000 (19:33 +0000)
commit86f12f93cc2ee5908f6ec0192f9b21d39c3d9ca0
tree0a07c77ee329ec07b03c7236650a854eb6f34252
parentedbfbf81f7ffa4f38e086e51d8efbde7230e0f28
- eagerload(), lazyload(), eagerload_all() take an optional
second class-or-mapper argument, which will select the mapper
to apply the option towards.  This can select among other
mappers which were added using add_entity().

- eagerloading will work with mappers added via add_entity().
CHANGES
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/orm/eager_relations.py
test/orm/mapper.py
test/orm/merge.py