summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/__init__.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-10-23 16:40:39 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-10-23 16:40:39 -0400
commit79c25ede440e80e15c4c789234157d0e9497349c (patch)
treee9517ef97e2b0a1ed8426b909135d21c23557772 /lib/sqlalchemy/sql/__init__.py
parentc01c6baf5715a13d707a4d57717f9ad1bc12027a (diff)
downloadsqlalchemy-79c25ede440e80e15c4c789234157d0e9497349c.tar.gz
- Added type_coerce(expr, type_) expression element.
Treats the given expression as the given type when evaluating expressions and processing result rows, but does not affect the generation of SQL, other than an anonymous label.
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 aa18eac17..2bb5f6ab4 100644
--- a/lib/sqlalchemy/sql/__init__.py
+++ b/lib/sqlalchemy/sql/__init__.py
@@ -47,6 +47,7 @@ from sqlalchemy.sql.expression import (
table,
text,
tuple_,
+ type_coerce,
union,
union_all,
update,