Index class

Inheritance
Annotations
  • @DomName('IDBIndex')
  • @Unstable()

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

Index.internal_()

Properties

keyPathObject
@DocsEditable(), @DomName('IDBIndex.keyPath'), read-only
multiEntrybool
@DocsEditable(), @DomName('IDBIndex.multiEntry'), read-only
nameString
@DocsEditable(), @DomName('IDBIndex.name'), read-only
objectStoreObjectStore
@DocsEditable(), @DomName('IDBIndex.objectStore'), read-only
uniquebool
@DocsEditable(), @DomName('IDBIndex.unique'), read-only
hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

count([key_OR_range ]) → Future<int>
@DomName('IDBIndex.count')
get(key) → Future
@DomName('IDBIndex.get')
getAll(Object range, [ int maxCount ]) → Request
getAllKeys(Object range, [ int maxCount ]) → Request
getKey(key) → Future
@DomName('IDBIndex.getKey')
openCursor({key, KeyRange range, String direction, bool autoAdvance }) → Stream<CursorWithValue>

Creates a stream of cursors over the records in this object store.

openKeyCursor({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
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns the result of the JavaScript objects toString method.

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