//===----------------------------------------------------------------------===// // DuckDB // // duckdb/main/relation/create_view_relation.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/main/relation.hpp" namespace duckdb { class CreateViewRelation : public Relation { public: CreateViewRelation(shared_ptr child, string view_name, bool replace, bool temporary); CreateViewRelation(shared_ptr child, string schema_name, string view_name, bool replace, bool temporary); shared_ptr child; string schema_name; string view_name; bool replace; bool temporary; vector columns; public: BoundStatement Bind(Binder &binder) override; const vector &Columns() override; string ToString(idx_t depth) override; bool IsReadOnly() override { return false; } }; } // namespace duckdb