]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- categorize these two with_polymorphic subsections under with_polymorphic
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 May 2017 14:51:14 +0000 (10:51 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 May 2017 14:51:14 +0000 (10:51 -0400)
Change-Id: I8bd49ac241df4b8645c8f78938d6f8122952d75a

doc/build/orm/inheritance_loading.rst

index 08618b1eda1844d4bf8e6b311ef570dd91de10dc..6aa371c622bdd75a621ae78495a78b18683836c0 100644 (file)
@@ -106,7 +106,7 @@ subclasses:
     entity = with_polymorphic(Employee, '*')
 
 Using aliasing with with_polymorphic
-------------------------------------
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 The :func:`.orm.with_polymorphic` function also provides "aliasing" of the
 polymorphic selectable itself, meaning, two different :func:`.orm.with_polymorphic`
@@ -223,7 +223,7 @@ versions of SQLite, may have a problem with this syntax, although virtually all
 modern database versions now support this syntax.
 
 Referring to Specific Subclass Attributes
------------------------------------------
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 The entity returned by :func:`.orm.with_polymorphic` is an :class:`.AliasedClass`
 object, which can be used in a :class:`.Query` like any other alias, including