summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/expression.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-12-09 00:21:13 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2010-12-09 00:21:13 -0500
commit2cbf1e590f87df848a42c18aa17e0dfb12443852 (patch)
treec1c02a66e30047dd202908a8951983f7fb2c7b56 /lib/sqlalchemy/sql/expression.py
parent1ea2ac12614ebba060dbe177dfd201ae206be088 (diff)
downloadsqlalchemy-2cbf1e590f87df848a42c18aa17e0dfb12443852.tar.gz
various formatting and hyperlinking fixes
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
-rw-r--r--lib/sqlalchemy/sql/expression.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py
index 99663c9c6..27fa36768 100644
--- a/lib/sqlalchemy/sql/expression.py
+++ b/lib/sqlalchemy/sql/expression.py
@@ -1695,6 +1695,8 @@ class _CompareMixin(ColumnOperators):
return o[0](self, op, other, reverse=True, *o[1:], **kwargs)
def in_(self, other):
+ """Compare this element to the given element or collection using IN."""
+
return self._in_impl(operators.in_op, operators.notin_op, other)
def _in_impl(self, op, negate_op, seq_or_selectable):
@@ -1793,6 +1795,8 @@ class _CompareMixin(ColumnOperators):
def label(self, name):
"""Produce a column label, i.e. ``<columnname> AS <name>``.
+
+ This is a shortcut to the :func:`~.expression.label` function.
if 'name' is None, an anonymous label name will be generated.