Readonly
directionThe direction
read-only property of the direction of traversal of the cursor (set using section below for possible values.
Readonly
keyThe key
read-only property of the position.
Readonly
primaryThe primaryKey
read-only property of the cursor is currently being iterated or has iterated outside its range, this is set to undefined.
Readonly
requestThe request
read-only property of the IDBCursor interface returns the IDBRequest used to obtain the cursor.
Readonly
sourceThe source
read-only property of the null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active.
Readonly
valueThe value
read-only property of the whatever that is.
The advance()
method of the IDBCursor interface sets the number of times a cursor should move its position forward.
The continue()
method of the IDBCursor interface advances the cursor to the next position along its direction, to the item whose key matches the optional key parameter.
Optional
key: IDBValidKeyThe continuePrimaryKey()
method of the matches the key parameter as well as whose primary key matches the primary key parameter.
The delete()
method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position.
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.
The
IDBCursorWithValue
interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.MDN Reference