mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
19 lines
353 B
C++
19 lines
353 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <Core/Names.h>
|
|
#include <Parsers/IAST_fwd.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Find parameters in a query and collect them into set.
|
|
NameSet analyzeReceiveQueryParams(const std::string & query);
|
|
|
|
NameSet analyzeReceiveQueryParams(const ASTPtr & ast);
|
|
|
|
NameToNameMap analyzeReceiveQueryParamsWithType(const ASTPtr & ast);
|
|
|
|
}
|