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