From 6079158b21da7598ff37115649bbdd955713eb11 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 16 May 2017 10:51:14 -0400 Subject: [PATCH] - categorize these two with_polymorphic subsections under with_polymorphic Change-Id: I8bd49ac241df4b8645c8f78938d6f8122952d75a --- doc/build/orm/inheritance_loading.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/build/orm/inheritance_loading.rst b/doc/build/orm/inheritance_loading.rst index 08618b1eda..6aa371c622 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 -- 2.39.5