mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
22 lines
443 B
C++
22 lines
443 B
C++
|
#pragma once
|
||
|
|
||
|
#include <Parsers/IAST.h>
|
||
|
#include <Parsers/ASTQueryWithTableAndOutput.h>
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
/// DELETE FROM [db.]name WHERE ...
|
||
|
class ASTDeleteQuery : public ASTQueryWithTableAndOutput
|
||
|
{
|
||
|
public:
|
||
|
String getID(char delim) const final;
|
||
|
ASTPtr clone() const final;
|
||
|
|
||
|
ASTPtr predicate;
|
||
|
|
||
|
protected:
|
||
|
void formatQueryImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const override;
|
||
|
};
|
||
|
|
||
|
}
|