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
14namespace duckdb {
15
16class PrepareStatement : public SQLStatement {
17public:
18 static constexpr const StatementType TYPE = StatementType::PREPARE_STATEMENT;
19
20public:
21 PrepareStatement();
22
23 unique_ptr<SQLStatement> statement;
24 string name;
25
26protected:
27 PrepareStatement(const PrepareStatement &other);
28
29public:
30 unique_ptr<SQLStatement> Copy() const override;
31};
32} // namespace duckdb
33