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

Function SQLQueryToString

src/Client/BuzzHouse/AST/SQLProtoStr.cpp:5886–5895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5884}
5885
5886void SQLQueryToString(String & ret, const SQLQuery & query)
5887{
5888 SingleSQLQueryToString(ret, query.single_query());
5889 for (int i = 0; i < query.parallel_queries_size(); i++)
5890 {
5891 ret += " PARALLEL WITH ";
5892 SingleSQLQueryToString(ret, query.parallel_queries(i));
5893 }
5894 ret += ";";
5895}
5896
5897}

Callers 1

buzzHouseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected