MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / backQuoteMySQL

Function backQuoteMySQL

src/Common/quoteString.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55
56String backQuoteMySQL(std::string_view x)
57{
58 String res(2 + x.size(), '\0');
59 {
60 WriteBufferFromString wb(res);
61 writeBackQuotedStringMySQL(x, wb);
62 }
63 return res;
64}
65
66}

Callers 2

writeBlockDataMethod · 0.85

Calls 2

sizeMethod · 0.45

Tested by

no test coverage detected