openCursor method

IDBRequest openCursor([
  1. JSAny? query,
  2. IDBCursorDirection direction
])

The openCursor() method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object. Used for iterating through an object store with a cursor.

To determine if the add operation has completed successfully, listen for the results's success event.

Implementation

external IDBRequest openCursor([
  JSAny? query,
  IDBCursorDirection direction,
]);