LibSQL: Partially implement the UPDATE command

This implements enough to update rows filtered by a WHERE clause.
This commit is contained in:
Timothy Flynn
2022-12-05 07:55:21 -05:00
committed by Andreas Kling
parent 1574f2c3f6
commit 53f8d62ea4
Notes: sideshowbarker 2024-07-17 20:58:35 +09:00
7 changed files with 203 additions and 12 deletions

View File

@@ -992,6 +992,8 @@ public:
RefPtr<Expression> const& where_clause() const { return m_where_clause; }
RefPtr<ReturningClause> const& returning_clause() const { return m_returning_clause; }
virtual ResultOr<ResultSet> execute(ExecutionContext&) const override;
private:
RefPtr<CommonTableExpressionList> m_common_table_expression_list;
ConflictResolution m_conflict_resolution;