Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 453 Bytes

File metadata and controls

20 lines (17 loc) · 453 Bytes

Delete rows from a table

Deleting rows takes an optional filter similar to Table::query. It can be an $idbID, an array of $idbID, or a custom function, or nothing in which case it will delete everything.

table.delete(1);

// [
//   {
//     $idbID: 2,
//     column: 'updated column'
//   },
//   {
//     $idbID: 3,
//     column: 'column match'
//   }
// ]