1 | //===----------------------------------------------------------------------===// |
---|---|
2 | // DuckDB |
3 | // |
4 | // duckdb/parser/statement/drop_statement.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/parser/parsed_data/drop_info.hpp" |
12 | #include "duckdb/parser/sql_statement.hpp" |
13 | |
14 | namespace duckdb { |
15 | |
16 | class DropStatement : public SQLStatement { |
17 | public: |
18 | static constexpr const StatementType TYPE = StatementType::DROP_STATEMENT; |
19 | |
20 | public: |
21 | DropStatement(); |
22 | |
23 | unique_ptr<DropInfo> info; |
24 | |
25 | protected: |
26 | DropStatement(const DropStatement &other); |
27 | |
28 | public: |
29 | unique_ptr<SQLStatement> Copy() const override; |
30 | }; |
31 | |
32 | } // namespace duckdb |
33 |