ClickHouse/src/Parsers/QueryParameterVisitor.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
353 B
C++
Raw Normal View History

#pragma once
2020-09-19 15:02:11 +00:00
#include <string>
#include <Core/Names.h>
#include <Parsers/IAST_fwd.h>
2020-09-19 15:02:11 +00:00
namespace DB
{
2020-09-19 15:02:11 +00:00
/// Find parameters in a query and collect them into set.
2020-09-19 14:47:22 +00:00
NameSet analyzeReceiveQueryParams(const std::string & query);
2020-04-04 08:57:16 +00:00
NameSet analyzeReceiveQueryParams(const ASTPtr & ast);
NameToNameMap analyzeReceiveQueryParamsWithType(const ASTPtr & ast);
}