From 36c05de373f9cbb198573704f2bc28fea8ca9113 Mon Sep 17 00:00:00 2001 From: Chris Withers Date: Fri, 9 Apr 2010 18:02:06 +0100 Subject: [PATCH] made this easier to read --- doc/build/mappers.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.3