transaction.store.delete() - cieszynski/dberta.js GitHub Wiki

Syntax

TRANSACTION.STORE.delete(keyOrKeyRange)

Parameters

keyOrKeyRange

Return value

A Promise that resolves to undefined.

Description

This method conveniently wraps the delete() method of the IDBObjectStore interface.

Exceptions

TransactionInactiveError (from IDBObjectStore)

ReadOnlyError (from IDBObjectStore)

InvalidStateError (from IDBObjectStore)

DataError (from IDBObjectStore)