1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/parser/statement/insert_statement.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/parser/parsed_expression.hpp"
12#include "duckdb/parser/statement/select_statement.hpp"
13
14#include <vector>
15
16namespace duckdb {
17
18class InsertStatement : public SQLStatement {
19public:
20 InsertStatement() : SQLStatement(StatementType::INSERT_STATEMENT), schema(DEFAULT_SCHEMA){};
21
22 //! The select statement to insert from
23 unique_ptr<SelectStatement> select_statement;
24 //! Column names to insert into
25 vector<string> columns;
26
27 //! Table name to insert to
28 string table;
29 //! Schema name to insert to
30 string schema;
31};
32
33} // namespace duckdb
34