blob: fd9149ba03a47ad1c78469992ff79e01f9e6b4a2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <Parsers/IParserBase.h>
namespace DB
{
/** Parses queries like
* DROP USER [IF EXISTS] name [,...]
* DROP ROLE [IF EXISTS] name [,...]
* DROP QUOTA [IF EXISTS] name [,...]
* DROP [SETTINGS] PROFILE [IF EXISTS] name [,...]
* DROP [ROW] POLICY [IF EXISTS] name [,...] ON [database.]table [,...]
*/
class ParserDropAccessEntityQuery : public IParserBase
{
protected:
const char * getName() const override { return "DROP access entity query"; }
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
};
}
|