ClickHouse/src/Parsers/ParserDeleteQuery.h

20 lines
336 B
C++

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