summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2005-09-24 06:03:04 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2005-09-24 06:03:04 +0000
commit0f33e21e094a15847c7d659da619dd550e7d0551 (patch)
tree9511fb2e4a78a5ba1ea51b1f7ba45ffa6fd46aa0 /lib/sqlalchemy/sql.py
parentc9011afab952f8e72301a05a6c561c2241d6fc1d (diff)
downloadsqlalchemy-0f33e21e094a15847c7d659da619dd550e7d0551.tar.gz
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r--lib/sqlalchemy/sql.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py
index 56e26b5db..671c59c67 100644
--- a/lib/sqlalchemy/sql.py
+++ b/lib/sqlalchemy/sql.py
@@ -20,6 +20,7 @@
import sqlalchemy.schema as schema
import sqlalchemy.util as util
+import sqlalchemy.types as types
import string
__ALL__ = ['textclause', 'select', 'join', 'and_', 'or_', 'union', 'desc', 'asc', 'outerjoin', 'alias', 'subquery', 'bindparam', 'sequence']
@@ -249,7 +250,8 @@ class ColumnClause(ClauseElement):
self.text = text
self.table = selectable
self._impl = ColumnSelectable(self)
-
+ self.type = types.NullTypeEngine()
+
columns = property(lambda self: [self])
name = property(lambda self:self.text)
key = property(lambda self:self.text)