Use t prefix for timestamp constant
parent
a4819611e0
commit
3891595250
|
@ -24,7 +24,7 @@ class TimestampConstant(_Constant):
|
||||||
self.value = value
|
self.value = value
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "'%s'" % escape_quotes_and_backslashes(self.value)
|
return "t'%s'" % escape_quotes_and_backslashes(self.value)
|
||||||
|
|
||||||
|
|
||||||
class IntegerConstant(_Constant):
|
class IntegerConstant(_Constant):
|
||||||
|
|
Loading…
Reference in New Issue