-
-
Notifications
You must be signed in to change notification settings - Fork 642
Table.delete()
David Fahlander edited this page Nov 25, 2016
·
2 revisions
Delete object from store.
table.delete(primaryKey)
primaryKey | Primary key of the object to delete |
Promise that resolves successfully with an undefined result, no matter if a record was deleted or not. Rejection happens if the provided key is not a valid key (not a Number, String, Date or Array<Number | String | Date>) or if the current transaction is readonly or inactive.
Deletes the object and resolves or rejects the returned promise when done.
Dexie.js - minimalistic and bullet proof indexedDB library