Removes a given entity from the table.
// Remove Alice from the table
await remove(userTable, { id: "alice-uuid" });
Parameter | Description |
---|---|
table
|
The table created by createTable() .
|
item
| The item (or primary keys of an item) which gets removed from the table. |
Consider removeMany()
if you want to remove many items in parallel.