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

Function parseDatabaseAsAST

src/Parsers/parseDatabaseAndTableName.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62
63bool parseDatabaseAsAST(IParser::Pos & pos, Expected & expected, ASTPtr & database)
64{
65 ParserIdentifier identifier_parser(/* allow_query_parameter */true);
66 return identifier_parser.parse(pos, database, expected);
67}
68
69
70bool parseDatabaseAndTableNameOrAsterisks(IParser::Pos & pos, Expected & expected, String & database, String & table, bool & wildcard, bool & default_database)

Callers 3

parseImplMethod · 0.85
parseImplMethod · 0.85
parseCheckDatabaseMethod · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected