]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- clarify docs that contains_eager() is included in the of_type() system,
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Aug 2014 13:59:59 +0000 (09:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 7 Aug 2014 14:01:23 +0000 (10:01 -0400)
fix #2438

doc/build/orm/inheritance.rst

index d68228259c7e2939111385e11b4786e9dbb02c94..3b6a284d0726740302bd827b0542be870516be4f 100644 (file)
@@ -472,7 +472,8 @@ subselect back to the parent ``companies`` table.
 Eager Loading of Specific or Polymorphic Subtypes
 ++++++++++++++++++++++++++++++++++++++++++++++++++
 
-The :func:`.joinedload` and :func:`.subqueryload` options also support
+The :func:`.joinedload`, :func:`.subqueryload`, :func:`.contains_eager` and
+other loading-related options also support
 paths which make use of :func:`~sqlalchemy.orm.interfaces.PropComparator.of_type`.
 Below we load ``Company`` rows while eagerly loading related ``Engineer``
 objects, querying the ``employee`` and ``engineer`` tables simultaneously::
@@ -497,11 +498,13 @@ can be loaded::
         )
 
 .. versionadded:: 0.8
-    :func:`.joinedload` and :func:`.subqueryload` support
+    :func:`.joinedload`, :func:`.subqueryload`, :func:`.contains_eager`
+    and related loader options support
     paths that are qualified with
     :func:`~sqlalchemy.orm.interfaces.PropComparator.of_type`, supporting
     single target types as well as :func:`.orm.with_polymorphic` targets.
 
+
 Single Table Inheritance
 ------------------------