-
-
Notifications
You must be signed in to change notification settings - Fork 641
Collection.each()
David Fahlander edited this page Mar 28, 2014
·
5 revisions
collection.each(callback)
callback: Function | function (item, cursor) { } |
item: Object | Found object |
cursor: IDBCursorWithValue | The cursor of the object being iterated. |
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.
Dexie.js - minimalistic and bullet proof indexedDB library