diff options
author | Chris Withers <chris@simplistix.co.uk> | 2010-04-09 18:02:06 +0100 |
---|---|---|
committer | Chris Withers <chris@simplistix.co.uk> | 2010-04-09 18:02:06 +0100 |
commit | 36c05de373f9cbb198573704f2bc28fea8ca9113 (patch) | |
tree | 7210763d0788fe1162eca23285f5bc1e3babe57c | |
parent | d61a48ccfd1024b744c003d354cd95b136d41a43 (diff) | |
download | sqlalchemy-36c05de373f9cbb198573704f2bc28fea8ca9113.tar.gz |
made this easier to read
-rw-r--r-- | doc/build/mappers.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/build/mappers.rst b/doc/build/mappers.rst index 7e320c26a..81d67f217 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 |