mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
20 lines
336 B
C++
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;
|
||
|
};
|
||
|
|
||
|
}
|