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