aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Parsers/ParserDeleteQuery.h
blob: fb7c644f48bc7c96c9daf0653e0b9f847f78f53c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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;
};

}