]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
no such thing as default_strategy()...
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 28 Oct 2013 17:54:08 +0000 (13:54 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 28 Oct 2013 17:54:24 +0000 (13:54 -0400)
doc/build/orm/loading.rst

index e841795580ceebf5f76f7781cf772b8102d6ea0e..98ccff2c8475a6b1dea57a6e0c0d37f41c90488b 100644 (file)
@@ -175,8 +175,9 @@ of all :func:`.relationship` constructs in use for that query,
 except for those which use the ``'dynamic'`` style of loading.
 If some relationships specify
 ``lazy='joined'`` or ``lazy='subquery'``, for example,
-using ``default_strategy(lazy='select')`` will unilaterally
-cause all those relationships to use ``'select'`` loading.
+using ``lazyload('*')`` will unilaterally
+cause all those relationships to use ``'select'`` loading, e.g. emit a
+SELECT statement when each attribute is accessed.
 
 The option does not supercede loader options stated in the
 query, such as :func:`.eagerload`,