From: Mike Bayer Date: Tue, 16 May 2017 14:51:14 +0000 (-0400) Subject: - categorize these two with_polymorphic subsections under with_polymorphic X-Git-Tag: rel_1_2_0b1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6079158b21da7598ff37115649bbdd955713eb11;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - categorize these two with_polymorphic subsections under with_polymorphic Change-Id: I8bd49ac241df4b8645c8f78938d6f8122952d75a --- 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