From: Mike Bayer Date: Tue, 16 May 2017 15:00:41 +0000 (-0400) Subject: - move additional sections under with_polymorphic missed X-Git-Tag: rel_1_2_0b1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75c8b88cddeeadb539fce1c038997d0aebe6f621;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - move additional sections under with_polymorphic missed in the previous change Change-Id: I20217d4d4ebfc033229d87e472ad82d32202617a --- diff --git a/doc/build/orm/inheritance_loading.rst b/doc/build/orm/inheritance_loading.rst index 6aa371c622..cbb0876174 100644 --- a/doc/build/orm/inheritance_loading.rst +++ b/doc/build/orm/inheritance_loading.rst @@ -244,7 +244,7 @@ specific to ``Engineer`` as well as ``Manager`` in terms of ``eng_plus_manager`` Setting with_polymorphic at mapper configuration time ------------------------------------------------------ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The :func:`.orm.with_polymorphic` function serves the purpose of allowing "eager" loading of attributes from subclass tables, as well as the ability @@ -294,7 +294,7 @@ subclasses. When using concrete inheritance, special helpers are provided to help with these patterns which are described at :ref:`concrete_polymorphic`. Setting with_polymorphic against a query ----------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The :func:`.orm.with_polymorphic` function evolved from a query-level method :meth:`.Query.with_polymorphic`. This method has the same purpose @@ -411,7 +411,7 @@ such as when the embedded criterion is in terms of a subclass:: .. _eagerloading_polymorphic_subtypes: Eager Loading of Specific or Polymorphic Subtypes -++++++++++++++++++++++++++++++++++++++++++++++++++ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The :func:`.joinedload`, :func:`.subqueryload`, :func:`.contains_eager` and other eagerloader options support