IDBCursor class

Note: Not to be confused with IDBCursorWithValue which is just an interface with an additional value property.

The interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database. The cursor has a source that indicates which index or object store it is iterating over. It has a position within the range, and moves in a direction that is increasing or decreasing in the order of record keys. The cursor enables an application to asynchronously process all the records in the cursor's range. You can have an unlimited number of cursors at the same time. You always get the same object representing a given cursor. Operations are performed on the underlying index or object store. Note: This feature is available in Web Workers

Implementers
Available Extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

IDBCursor()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited