mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2025-08-02 19:20:14 +03:00
drop quoting group by
This commit is contained in:
parent
ebdadb3aee
commit
10159b61bf
|
@ -387,7 +387,7 @@ class QuerySet(object):
|
|||
sql += '\nWHERE ' + self.conditions_as_sql(prewhere=False)
|
||||
|
||||
if self._grouping_fields:
|
||||
sql += '\nGROUP BY %s' % comma_join('`%s`' % field for field in self._grouping_fields)
|
||||
sql += '\nGROUP BY %s' % comma_join('%s' % field for field in self._grouping_fields)
|
||||
|
||||
if self._grouping_with_totals:
|
||||
sql += ' WITH TOTALS'
|
||||
|
|
Loading…
Reference in New Issue
Block a user