mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2025-08-02 19:20:14 +03:00
Merge 6507b97f5d
into 45a9200ff6
This commit is contained in:
commit
c897bc2fd1
|
@ -237,7 +237,7 @@ class DateTimeField(Field):
|
|||
return dt
|
||||
raise ValueError('Invalid value for %s - %r' % (self.__class__.__name__, value))
|
||||
|
||||
def to_db_string(self, value, quote=True):
|
||||
def to_db_string(self, value, quote=False):
|
||||
return escape('%010d' % timegm(value.utctimetuple()), quote)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user