summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/selectresults.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-03-17 16:49:45 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-03-17 16:49:45 +0000
commit229d2ee4e9e189feb25578c07c850606178d5b76 (patch)
tree3894a073cbb3fa82bcd549e212b53b250222b93b /lib/sqlalchemy/ext/selectresults.py
parent4f63e40616635ba2dae49c3a416d9e288a9a0860 (diff)
downloadsqlalchemy-229d2ee4e9e189feb25578c07c850606178d5b76.tar.gz
integrated docutils formatting into generated documentation;
restructuredtext fixes throughout docstrings
Diffstat (limited to 'lib/sqlalchemy/ext/selectresults.py')
-rw-r--r--lib/sqlalchemy/ext/selectresults.py9
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.
"""