CAST in sql, needs more work
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.5.1-stable+timestamp.2013.06.09.16.43.01
|
||||
Version 2.5.1-stable+timestamp.2013.06.09.16.56.30
|
||||
|
||||
@@ -1375,8 +1375,6 @@ class BaseAdapter(ConnectionPool):
|
||||
out = '(%s)' % op
|
||||
else:
|
||||
out = op()
|
||||
if field_type == 'string':
|
||||
out = 'CAST(%s AS %s)' % (out, self.types['text'])
|
||||
return out
|
||||
elif field_type:
|
||||
return str(self.represent(expression,field_type))
|
||||
|
||||
Reference in New Issue
Block a user