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