summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/expression.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2009-01-03 22:40:58 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2009-01-03 22:40:58 +0000
commit54c00bb127feb5388f868d32116d3aa6980e39fb (patch)
tree72142ea050f8a402cb6712bf594612f39f64d606 /lib/sqlalchemy/sql/expression.py
parent653191d913b980964d45b4ef92ed6a0b5d95af91 (diff)
downloadsqlalchemy-54c00bb127feb5388f868d32116d3aa6980e39fb.tar.gz
docstrings for the hated fold_equivalents argument/function
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
-rw-r--r--lib/sqlalchemy/sql/expression.py21
1 files changed, 10 insertions, 11 deletions
diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py
index 7eeff0660..2360efe05 100644
--- a/lib/sqlalchemy/sql/expression.py
+++ b/lib/sqlalchemy/sql/expression.py
@@ -2522,23 +2522,22 @@ class Join(FromClause):
return sql_util.join_condition(primary, secondary)
def select(self, whereclause=None, fold_equivalents=False, **kwargs):
- """Create a ``Select`` from this ``Join``.
+ """Create a :class:`Select` from this :class:`Join`.
- whereclause
- the WHERE criterion that will be sent to the ``select()``
- function
+ :param whereclause: the WHERE criterion that will be sent to
+ the :func:`select()` function
- fold_equivalents
- based on the join criterion of this ``Join``, do not include
+ :param fold_equivalents: based on the join criterion of this
+ :class:`Join`, do not include
repeat column names in the column list of the resulting
select, for columns that are calculated to be "equivalent"
- based on the join criterion of this ``Join``. This will
+ based on the join criterion of this :class:`Join`. This will
recursively apply to any joins directly nested by this one
- as well.
+ as well. This flag is specific to a particular use case
+ by the ORM and will be deprecated in 0.6.
- \**kwargs
- all other kwargs are sent to the underlying ``select()`` function.
- See the ``select()`` module level function for details.
+ :param \**kwargs: all other kwargs are sent to the
+ underlying :func:`select()` function.
"""
if fold_equivalents: