1#include "duckdb/parser/statement/export_statement.hpp"
2
3namespace duckdb {
4
5ExportStatement::ExportStatement(unique_ptr<CopyInfo> info)
6 : SQLStatement(StatementType::EXPORT_STATEMENT), info(std::move(info)) {
7}
8
9ExportStatement::ExportStatement(const ExportStatement &other) : SQLStatement(other), info(other.info->Copy()) {
10}
11
12unique_ptr<SQLStatement> ExportStatement::Copy() const {
13 return unique_ptr<ExportStatement>(new ExportStatement(*this));
14}
15
16} // namespace duckdb
17