1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

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
parent 6d3f68cc11
commit aba7f11a50
6 changed files with 190 additions and 0 deletions

View file

@ -44,6 +44,7 @@ public:
ErrorOr<Vector<Row>> select_all(TableDef const&);
ErrorOr<Vector<Row>> match(TableDef const&, Key const&);
ErrorOr<void> insert(Row&);
ErrorOr<void> remove(Row&);
ErrorOr<void> update(Row&);
private: