| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | |
| 4 | namespace DB |
| 5 | { |
| 6 | |
| 7 | /// Method to quote identifiers. |
| 8 | /// NOTE There could be differences in escaping rules inside quotes. Escaping rules may not match that required by specific external DBMS. |
| 9 | enum class IdentifierQuotingStyle |
| 10 | { |
| 11 | None, /// Write as-is, without quotes. |
| 12 | Backticks, /// `clickhouse` style |
| 13 | DoubleQuotes, /// "postgres" style |
| 14 | BackticksMySQL, /// `mysql` style, most same as Backticks, but it uses '``' to escape '`' |
| 15 | }; |
| 16 | |
| 17 | } |
| 18 |