This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

IDBCursorWithValue

Summary

Returns the IDBCursor’s value.

Inherits from IDBCursorIDBCursor

Properties

value
:

Methods

No methods.

Events

No events.

Inherited from IDBCursor

Properties

direction
Indicates the direction of travel within a cursor.
key
The key value for the record currently displayed by the cursor.
primaryKey
Returns the cursor’s current effective key.
source
On getting, returns the IDBObjectStore or IDBIndex that the cursor is iterating. This function never returns null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active.

Methods

advance
Advances the cursor by the specified number of records.
continue
Moves to the next record, or to the record specified by a key.
delete
Returns an IDBRequest object and, in a separate thread, deletes the record at the cursor’s position, without changing the cursor’s position. Once the record is deleted, the cursor’s value is set to null.
update
Creates a structured clone of the value parameter.

Events

No events.

Related specifications

W3C IndexedDB Specification
W3C Proposed Recommendation

Attributions