The IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
The advance() method of the IDBCursor interface sets the number times a cursor should move its position forward.
This method may raise a DOMException of one of the following types:
An IDBRequest object on which subsequent events related to this operation are fired. The result attribute is set to undefined.
A string (defined by the IDBCursorDirection enum) indicating the direction in which the cursor is traversing the data. Possible values are:
The update() method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store. If the cursor points to a record that has just been deleted, a new record is created.
The IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.