transaction.STORE.count() - cieszynski/dberta.js GitHub Wiki
TRANSACTION.STORE.count([keyOrKeyRange])
keyOrKeyRange
A Promise that resolves to the number of records that match the given query.
This method conveniently wraps the count()
method of the IDBObjectStore interface.
InvalidStateError
(from IDBObjectStore)
TransactionInactiveError
(from IDBObjectStore)
DataError
(from IDBObjectStore)