summaryrefslogtreecommitdiff
path: root/test/orm/inheritance/test_basic.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-03-24 19:11:01 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-03-24 19:11:01 -0400
commit1675811029553501bb23084604c64d974dfe739c (patch)
tree7e3c29f55c562aab06a48b6b4727f59156ed6722 /test/orm/inheritance/test_basic.py
parent290a1596ce6f806aa6f25dd754cf0d2197f160ff (diff)
downloadsqlalchemy-1675811029553501bb23084604c64d974dfe739c.tar.gz
- 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.
Diffstat (limited to 'test/orm/inheritance/test_basic.py')
-rw-r--r--test/orm/inheritance/test_basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py
index 9477fddab..904660e77 100644
--- a/test/orm/inheritance/test_basic.py
+++ b/test/orm/inheritance/test_basic.py
@@ -455,7 +455,7 @@ class EagerTargetingTest(_base.MappedTest):
eq_(node.children[0], B(id=2, name='b2',b_data='l'))
sess.expunge_all()
- node = sess.query(B).options(eagerload(B.children)).filter(B.id==bid).all()[0]
+ node = sess.query(B).options(joinedload(B.children)).filter(B.id==bid).all()[0]
eq_(node, B(id=1, name='b1',b_data='i'))
eq_(node.children[0], B(id=2, name='b2',b_data='l'))