diff options
Diffstat (limited to 'lib/sqlalchemy/ext/selectresults.py')
-rw-r--r-- | lib/sqlalchemy/ext/selectresults.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/sqlalchemy/ext/selectresults.py b/lib/sqlalchemy/ext/selectresults.py index f498e26b0..ec3ad8026 100644 --- a/lib/sqlalchemy/ext/selectresults.py +++ b/lib/sqlalchemy/ext/selectresults.py @@ -70,7 +70,7 @@ class SelectResults(object): return self._col_aggregate(col, sql.func.max) def sum(self, col): - """Execute the SQL ``sum``() function against the given column.""" + """Execute the SQL ``sum()`` function against the given column.""" return self._col_aggregate(col, sql.func.sum) @@ -155,11 +155,12 @@ class SelectResults(object): return new def outerjoin_to(self, prop): - """Outer join the table of this ``SelectResults`` to the table located against the given property name. + """Outer join the table of this ``SelectResults`` to the + table located against the given property name. Subsequent calls to join_to or outerjoin_to will join against - the rightmost table located from the previous ``join_to` or - `outerjoin_to` call, searching for the property starting with + the rightmost table located from the previous ``join_to`` or + ``outerjoin_to`` call, searching for the property starting with the rightmost mapper last located. """ |