1 | #pragma once |
---|---|
2 | |
3 | #include <Core/Types.h> |
4 | #include <common/StringRef.h> |
5 | |
6 | |
7 | namespace DB |
8 | { |
9 | /// Quote the string. |
10 | String quoteString(const StringRef & x); |
11 | |
12 | /// Double quote the string. |
13 | String doubleQuoteString(const StringRef & x); |
14 | |
15 | /// Quote the identifier with backquotes. |
16 | String backQuote(const StringRef & x); |
17 | |
18 | /// Quote the identifier with backquotes, if required. |
19 | String backQuoteIfNeed(const StringRef & x); |
20 | } |
21 |