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
- direction → IDBCursorDirection
-
Available on IDBCursor, provided by the PropsIDBCursor extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- key → dynamic
-
Available on IDBCursor, provided by the PropsIDBCursor extension
no setter - primaryKey → dynamic
-
Available on IDBCursor, provided by the PropsIDBCursor extension
no setter - request → IDBRequest
-
Available on IDBCursor, provided by the PropsIDBCursor extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → dynamic
-
Available on IDBCursor, provided by the PropsIDBCursor extension
no setter
Methods
-
advance(
int count) → void -
Available on IDBCursor, provided by the PropsIDBCursor extension
-
continuePrimaryKey(
dynamic key, dynamic primaryKey) → void -
Available on IDBCursor, provided by the PropsIDBCursor extension
-
delete(
) → IDBRequest -
Available on IDBCursor, provided by the PropsIDBCursor extension
-
mContinue(
[dynamic key]) → void -
Available on IDBCursor, provided by the PropsIDBCursor extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
dynamic value) → IDBRequest -
Available on IDBCursor, provided by the PropsIDBCursor extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited