blob: f53a2bde3711c6f42f024060cef67b444e5508c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
from sqlalchemy.sql.compiler import IdentifierPreparer
from clickhouse_connect.driver.binding import quote_identifier
class ChIdentifierPreparer(IdentifierPreparer):
quote_identifier = staticmethod(quote_identifier)
def _requires_quotes(self, _value):
return True
|