Collection.eachKey()

Syntax

collection.eachKey(callback)

Parameters

callback: Functionfunction (key, cursor) { }

Callback Parameters

key: ObjectFound key
cursor: IDBCursorThe cursor of the object being iterated.

Return Value

Promise

Remarks

When iteration finish, returned Promise will resolve with undefined, calling any Promise.then() callback.

If operation fails, returned promise will reject, calling any Promise.catch() callback.

See Also

Collection.keys()

Collection.uniqueKeys()

Table of Contents