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