//===----------------------------------------------------------------------===// // DuckDB // // duckdb/main/relation/delete_relation.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/main/relation.hpp" #include "duckdb/parser/parsed_expression.hpp" namespace duckdb { class DeleteRelation : public Relation { public: DeleteRelation(ClientContextWrapper &context, unique_ptr condition, string schema_name, string table_name); vector columns; unique_ptr condition; string schema_name; string table_name; public: BoundStatement Bind(Binder &binder) override; const vector &Columns() override; string ToString(idx_t depth) override; bool IsReadOnly() override { return false; } }; } // namespace duckdb