LibSQL: Partially implement the DELETE command

This implements enough to delete rows filtered by a WHERE clause.
This commit is contained in:
Timothy Flynn 2022-11-28 07:49:03 -05:00 committed by Linus Groh
commit aba7f11a50
Notes: sideshowbarker 2024-07-17 20:33:50 +09:00
6 changed files with 190 additions and 0 deletions

View file

@ -1017,6 +1017,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;
NonnullRefPtr<QualifiedTableName> m_qualified_table_name;