summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-05-16 10:51:14 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-05-16 10:51:14 -0400
commit6079158b21da7598ff37115649bbdd955713eb11 (patch)
tree682e159904dd0f6d7713d46614a8741f534c157f
parent7aa50b9b197d542b63e86f423865f9bbec7af443 (diff)
downloadsqlalchemy-6079158b21da7598ff37115649bbdd955713eb11.tar.gz
- categorize these two with_polymorphic subsections under with_polymorphic
Change-Id: I8bd49ac241df4b8645c8f78938d6f8122952d75a
-rw-r--r--doc/build/orm/inheritance_loading.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/orm/inheritance_loading.rst b/doc/build/orm/inheritance_loading.rst
index 08618b1ed..6aa371c62 100644
--- a/doc/build/orm/inheritance_loading.rst
+++ b/doc/build/orm/inheritance_loading.rst
@@ -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