From: Chris Withers Date: Fri, 9 Apr 2010 17:02:06 +0000 (+0100) Subject: made this easier to read X-Git-Tag: rel_0_6_0~27^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36c05de373f9cbb198573704f2bc28fea8ca9113;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git made this easier to read --- diff --git a/doc/build/mappers.rst b/doc/build/mappers.rst index 7e320c26a0..81d67f2178 100644 --- a/doc/build/mappers.rst +++ b/doc/build/mappers.rst @@ -477,7 +477,9 @@ It also accepts a second argument ``selectable`` which replaces the automatic jo # custom selectable query.with_polymorphic([Engineer, Manager], employees.outerjoin(managers).outerjoin(engineers)) -:func:`~sqlalchemy.orm.query.Query.with_polymorphic` is also needed when you wish to add filter criterion that is specific to one or more subclasses, so that those columns are available to the WHERE clause: +:func:`~sqlalchemy.orm.query.Query.with_polymorphic` is also needed +when you wish to add filter criteria that are specific to one or more +subclasses; It makes the subclasses' columns available to the WHERE clause: .. sourcecode:: python+sql