#pragma once #include #include #include #include namespace DB { /** Query SHOW ENGINES */ class ParserShowEnginesQuery : public IParserBase { protected: const char * getName() const override { return "SHOW ENGINES query"; } bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override { auto query = std::make_shared(); if (!ParserKeyword("SHOW ENGINES").ignore(pos, expected)) return false; node = query; return true; } }; }