Index class

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

Properties

hashCodeint
read-only, inherited
The hash code for this object. [...]
keyPathObject?
@annotation_Creates_SerializedScriptValue, read-only
multiEntrybool?
read-only
nameString?
read / write
objectStoreObjectStore?
read-only
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.
uniquebool?
read-only

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
inherited
Invoked when a non-existent method or property is accessed. [...]
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
inherited
A string representation of this object. [...]

Operators

operator ==(Object other) → bool
inherited
The equality operator. [...]

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-indexed_db/Index-class.html