Dexie Logo
Documentation

Table.delete()

Delete object from store.

Syntax

table.delete(primaryKey)

Parameters

primaryKeyPrimary key of the object to delete

Return Value

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.

Remarks

Deletes the object and resolves or rejects the returned promise when done.

See Also

© 2014-2025 Awarica AB

Made with love for great people.

Read Terms & Conditions and Privacy Policy.