summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/__init__.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-01-25 21:04:50 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-01-25 21:04:50 +0000
commit73bfc876692afad7c9f3fcb8bc42bbe732738a5c (patch)
tree2afc36e3d6780c728eb847e83502848be63f9734 /lib/sqlalchemy/sql/__init__.py
parentba53c6e844a81d984b70c46d2c1d41405e76595c (diff)
downloadsqlalchemy-73bfc876692afad7c9f3fcb8bc42bbe732738a5c.tar.gz
- Added a tuple_() construct, allows sets of expressions
to be compared to another set, typically with IN against composite primary keys or similar. Also accepts an IN with multiple columns. The "scalar select can have only one column" error message is removed - will rely upon the database to report problems with col mismatch.
Diffstat (limited to 'lib/sqlalchemy/sql/__init__.py')
-rw-r--r--lib/sqlalchemy/sql/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/__init__.py b/lib/sqlalchemy/sql/__init__.py
index 0b347ca38..aa18eac17 100644
--- a/lib/sqlalchemy/sql/__init__.py
+++ b/lib/sqlalchemy/sql/__init__.py
@@ -46,6 +46,7 @@ from sqlalchemy.sql.expression import (
subquery,
table,
text,
+ tuple_,
union,
union_all,
update,