ClickHouse/src/Parsers/ParserUndropQuery.h
2023-03-27 22:16:36 +08:00

21 lines
385 B
C++

#pragma once
#include <Parsers/IParserBase.h>
#include <Parsers/ExpressionElementParsers.h>
namespace DB
{
/** Query like this:
* UNDROP TABLE [db.]name [UUID uuid]
*/
class ParserUndropQuery : public IParserBase
{
protected:
const char * getName() const override{ return "UNDROP query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}