Index class

Annotations
  • @Unstable()
  • @Native("IDBIndex")

Properties

hashCode int
The hash code for this object.
no setterinherited
keyPath Object?
no setter
multiEntry bool?
no setter
name String?
getter/setter pair
objectStore ObjectStore?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unique bool?
no setter

Methods

count([dynamic key_OR_range]) Future<int>
get(dynamic key) Future
getAll(Object? query, [int? count]) Request
getAllKeys(Object? query, [int? count]) Request
getKey(dynamic key) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openCursor({dynamic key, KeyRange? range, String? direction, bool? autoAdvance}) Stream<CursorWithValue>
Creates a stream of cursors over the records in this object store.
openKeyCursor({dynamic key, KeyRange? range, String? direction, bool? autoAdvance}) Stream<Cursor>
Creates a stream of cursors over the records in this object store.
toString() String
A string representation of this object.
inherited

Operators

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