mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
21 lines
412 B
C++
21 lines
412 B
C++
#pragma once
|
|
|
|
#include <common/types.h>
|
|
#include <common/StringRef.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
/// Quote the string.
|
|
String quoteString(const StringRef & x);
|
|
|
|
/// Double quote the string.
|
|
String doubleQuoteString(const StringRef & x);
|
|
|
|
/// Quote the identifier with backquotes.
|
|
String backQuote(const StringRef & x);
|
|
|
|
/// Quote the identifier with backquotes, if required.
|
|
String backQuoteIfNeed(const StringRef & x);
|
|
}
|