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

Method hasQueryParameters

src/Parsers/ASTSelectQuery.cpp:595–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595bool ASTSelectQuery::hasQueryParameters() const
596{
597 if (!has_query_parameters.has_value())
598 {
599 has_query_parameters = !analyzeReceiveQueryParams(make_intrusive<ASTSelectQuery>(*this)).empty();
600 }
601
602 return has_query_parameters.value();
603}
604
605NameToNameMap ASTSelectQuery::getQueryParameters() const
606{

Callers 1

isParameterizedViewMethod · 0.45

Calls 3

emptyMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected