Index class

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

Properties

keyPath Object
@annotation_Creates_SerializedScriptValue, @DocsEditable(), @DomName('IDBIndex.keyPath'), final
multiEntry bool
@DocsEditable(), @DomName('IDBIndex.multiEntry'), final
name String
@DocsEditable(), @DomName('IDBIndex.name'), read / write
objectStore ObjectStore
@DocsEditable(), @DomName('IDBIndex.objectStore'), final
unique bool
@DocsEditable(), @DomName('IDBIndex.unique'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

count([dynamic key_OR_range ]) Future<int>
@DomName('IDBIndex.count')
get(dynamic key) Future
@DomName('IDBIndex.get')
getAll(Object query, [ int count ]) Request
@DocsEditable(), @DomName('IDBIndex.getAll'), @Experimental()
getAllKeys(Object query, [ int count ]) Request
@DocsEditable(), @DomName('IDBIndex.getAllKeys'), @Experimental()
getKey(dynamic key) Future
@DomName('IDBIndex.getKey')
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. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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