]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- To accomodate the fact that there are now two kinds of eager
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 24 Mar 2010 23:11:01 +0000 (19:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 24 Mar 2010 23:11:01 +0000 (19:11 -0400)
commit1675811029553501bb23084604c64d974dfe739c
tree7e3c29f55c562aab06a48b6b4727f59156ed6722
parent290a1596ce6f806aa6f25dd754cf0d2197f160ff
- To accomodate the fact that there are now two kinds of eager
loading available, the new names for eagerload() and
eagerload_all() are joinedload() and joinedload_all().  The
old names will remain as synonyms for the foreseeable future.

- The "lazy" flag on the relationship() function now accepts
a string argument for all kinds of loading: "select", "joined",
"subquery", "noload" and "dynamic", where the default is now
"select".  The old values of True/
False/None still retain their usual meanings and will remain
as synonyms for the foreseeable future.

- Added documentation to tutorial,mapper doc, api docs
for subqueryload, subqueryload_all, and other options.
26 files changed:
CHANGES
doc/build/mappers.rst
doc/build/ormtutorial.rst
doc/build/reference/orm/query.rst
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py
test/ext/test_declarative.py
test/ext/test_serializer.py
test/orm/inheritance/test_basic.py
test/orm/inheritance/test_concrete.py
test/orm/inheritance/test_polymorph2.py
test/orm/inheritance/test_query.py
test/orm/inheritance/test_single.py
test/orm/test_assorted_eager.py
test/orm/test_eager_relations.py
test/orm/test_expire.py
test/orm/test_mapper.py
test/orm/test_merge.py
test/orm/test_pickled.py
test/orm/test_query.py
test/orm/test_session.py
test/orm/test_subquery_relations.py
test/orm/test_unitofwork.py
test/perf/masseagerload.py
test/perf/ormsession.py