aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Parsers/QueryParameterVisitor.h
blob: 40b2fa6978fe94e6097012bdb816115b3d385545 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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);

}