ObjectStore class

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

Static Properties

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

Constructors

ObjectStore.internal_()

Properties

autoIncrementbool
@DocsEditable(), @DomName('IDBObjectStore.autoIncrement'), read-only
indexNamesList<String>
@DocsEditable(), @DomName('IDBObjectStore.indexNames'), read-only
keyPathObject
@DocsEditable(), @DomName('IDBObjectStore.keyPath'), read-only
nameString
@DocsEditable(), @DomName('IDBObjectStore.name'), read-only
transactionTransaction
@DocsEditable(), @DomName('IDBObjectStore.transaction'), 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

add(value, [ key ]) → Future
@DomName('IDBObjectStore.add')
clear() → Future
@DomName('IDBObjectStore.clear')
count([key_OR_range ]) → Future<int>
@DomName('IDBObjectStore.count')
createIndex(String name, keyPath, { bool unique, bool multiEntry }) → Index
@DomName('IDBObjectStore.createIndex')
delete(key_OR_keyRange) → Future
@DomName('IDBObjectStore.delete')
deleteIndex(String name) → void
@DocsEditable(), @DomName('IDBObjectStore.deleteIndex')
getAll(Object range, [ int maxCount ]) → Request
getAllKeys(Object range, [ int maxCount ]) → Request
getObject(key) → Future
@DomName('IDBObjectStore.get')
index(String name) → Index
@DocsEditable(), @DomName('IDBObjectStore.index')
openCursor({key, KeyRange range, String direction, bool autoAdvance }) → Stream<CursorWithValue>
@DomName('IDBObjectStore.openCursor')

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

openKeyCursor(Object range, [ String direction ]) → Request
put(value, [ key ]) → Future
@DomName('IDBObjectStore.put')
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/ObjectStore-class.html