1 | #include "duckdb/parser/statement/relation_statement.hpp" |
---|---|
2 | |
3 | namespace duckdb { |
4 | |
5 | RelationStatement::RelationStatement(shared_ptr<Relation> relation) |
6 | : SQLStatement(StatementType::RELATION_STATEMENT), relation(std::move(relation)) { |
7 | } |
8 | |
9 | unique_ptr<SQLStatement> RelationStatement::Copy() const { |
10 | return unique_ptr<RelationStatement>(new RelationStatement(*this)); |
11 | } |
12 | |
13 | } // namespace duckdb |
14 |