Delete
Delete Method
Table Of Delete Method
Parameters
- table (table name to delete the data from)
- key (the key name you want to delete)
delete(table, key)
Example Usage
await db.delete("my_table", "foo");
// -> delete foo key in 'my_table' table
Returned Data
Returns true if deleted the whole row
Returns the stored data if deleted specific data using JSON Notation
true