1#pragma once
2
3#include <Parsers/IParserBase.h>
4#include <Parsers/ExpressionElementParsers.h>
5
6
7namespace DB
8{
9
10/** Query (EXISTS | SHOW CREATE) [TABLE|DICTIONARY] [db.]name [FORMAT format]
11 */
12class ParserTablePropertiesQuery : public IParserBase
13{
14protected:
15 const char * getName() const override { return "EXISTS or SHOW CREATE query"; }
16 bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
17};
18
19}
20