mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
20 lines
352 B
C++
20 lines
352 B
C++
#pragma once
|
|
|
|
#include <Parsers/IParserBase.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** Query like this:
|
|
* DROP INDEX [IF EXISTS] name ON [db].name
|
|
*/
|
|
|
|
class ParserDropIndexQuery : public IParserBase
|
|
{
|
|
protected:
|
|
const char * getName() const override { return "DROP INDEX query"; }
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
|
};
|
|
|
|
}
|