#pragma once #include #include #include namespace DB { /** Позволяет удалить таблицу вместе со всеми данными (DROP), или удалить информацию о таблице из сервера (DETACH). */ class InterpreterDropQuery : public IInterpreter { public: InterpreterDropQuery(ASTPtr query_ptr_, Context & context_); /// Удаляет таблицу. BlockIO execute() override; private: ASTPtr query_ptr; Context context; }; }