1 | //===----------------------------------------------------------------------===// |
---|---|
2 | // DuckDB |
3 | // |
4 | // duckdb/parser/statement/call_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 | #include "duckdb/common/vector.hpp" |
14 | |
15 | namespace duckdb { |
16 | |
17 | class CallStatement : public SQLStatement { |
18 | public: |
19 | static constexpr const StatementType TYPE = StatementType::CALL_STATEMENT; |
20 | |
21 | public: |
22 | CallStatement(); |
23 | |
24 | unique_ptr<ParsedExpression> function; |
25 | |
26 | protected: |
27 | CallStatement(const CallStatement &other); |
28 | |
29 | public: |
30 | unique_ptr<SQLStatement> Copy() const override; |
31 | }; |
32 | } // namespace duckdb |
33 |