From: Tao Zhou Date: Tue, 6 Aug 2024 20:21:44 +0000 (-0400) Subject: Fix a misreference in inheritance.rst (#11700) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10ac7ce5c8527240e8cc4fa65f3f7a0ba10a2f26;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix a misreference in inheritance.rst (#11700) --- diff --git a/doc/build/orm/queryguide/inheritance.rst b/doc/build/orm/queryguide/inheritance.rst index 136bed55a6..537d51ae59 100644 --- a/doc/build/orm/queryguide/inheritance.rst +++ b/doc/build/orm/queryguide/inheritance.rst @@ -128,7 +128,7 @@ objects at once. This loader option works in a similar fashion as the SELECT statement against each sub-table for objects loaded in the hierarchy, using ``IN`` to query for additional rows based on primary key. -:func:`_orm.selectinload` accepts as its arguments the base entity that is +:func:`_orm.selectin_polymorphic` accepts as its arguments the base entity that is being queried, followed by a sequence of subclasses of that entity for which their specific attributes should be loaded for incoming rows::