summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/elements.py
diff options
context:
space:
mode:
authorStepland <16676308+Stepland@users.noreply.github.com>2019-09-16 11:40:29 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-09-16 11:56:19 -0400
commit6a60d7305bafc311115543e0c2cb5136a254edf2 (patch)
treed8c56281f4966644ffb7ca67c8ec01bccd1902aa /lib/sqlalchemy/sql/elements.py
parented02d924dd0bd1bce56b40bea74e1d382c352833 (diff)
downloadsqlalchemy-6a60d7305bafc311115543e0c2cb5136a254edf2.tar.gz
Add note on the use of tuple_() for the IN operator in the docs
Closes: #4861 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4861 Pull-request-sha: c7379d390752d0c10d6488872b163b06ee30d952 Change-Id: I223008f720fe64951e2a0bf95aab955ece22516b
Diffstat (limited to 'lib/sqlalchemy/sql/elements.py')
-rw-r--r--lib/sqlalchemy/sql/elements.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py
index 3caa380ee..3045cb84e 100644
--- a/lib/sqlalchemy/sql/elements.py
+++ b/lib/sqlalchemy/sql/elements.py
@@ -2214,7 +2214,8 @@ class Tuple(ClauseList, ColumnElement):
def __init__(self, *clauses, **kw):
"""Return a :class:`.Tuple`.
- Main usage is to produce a composite IN construct::
+ Main usage is to produce a composite IN construct using
+ :meth:`.ColumnOperators.in_` ::
from sqlalchemy import tuple_