mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +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);
|
|
|
|
}
|