Skip to content

Collection.eachKey()

David Fahlander edited this page Mar 28, 2014 · 4 revisions

Syntax

collection.eachKey(callback)

Parameters

callback: Function function (key, cursor) { }

Callback Parameters

key: Object Found key
cursor: IDBCursor The 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.

Clone this wiki locally