diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-18 12:42:54 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-01-18 12:42:54 -0500 |
| commit | 8c05a3bf6599f92bbf8d2246123597e8966f3a52 (patch) | |
| tree | ec4be43a19f0ff4154d5588ebaeb143fa257e75e /lib/sqlalchemy/sql | |
| parent | cd6e5d6dea83d5d5317765f14b15641fdf54ecc0 (diff) | |
| download | sqlalchemy-8c05a3bf6599f92bbf8d2246123597e8966f3a52.tar.gz | |
- [feature] Added "false()" and "true()" expression
constructs to sqlalchemy.sql namespace, though
not part of __all__ as of yet.
- [bug] sql.false() and sql.true() compile to
0 and 1, respectively in sqlite [ticket:2368]
Diffstat (limited to 'lib/sqlalchemy/sql')
| -rw-r--r-- | lib/sqlalchemy/sql/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/__init__.py b/lib/sqlalchemy/sql/__init__.py index e82d072c1..eac845dcd 100644 --- a/lib/sqlalchemy/sql/__init__.py +++ b/lib/sqlalchemy/sql/__init__.py @@ -34,6 +34,7 @@ from sqlalchemy.sql.expression import ( except_all, exists, extract, + false, func, insert, intersect, @@ -53,6 +54,7 @@ from sqlalchemy.sql.expression import ( subquery, table, text, + true, tuple_, type_coerce, union, |
