ObjectStore class

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

Instance Properties

autoIncrement bool
read-only
indexNames List<String>
read-only
keyPath Object
read-only
name String
read-only
transaction Transaction
read-only

Instance Methods

add(value, [key]) → Future
clear() → Future
delete(key_OR_keyRange) → Future
count([key_OR_range]) → Future<int>
put(value, [key]) → Future
getObject(key) → Future
openCursor({key, KeyRange range, String direction, bool autoAdvance}) → Stream<CursorWithValue>
Creates a stream of cursors over the records in this object store.
createIndex(String name, keyPath, {bool unique, bool multiEntry}) → Index
deleteIndex(String name) → void
index(String name) → Index
openKeyCursor(Object range, [String direction]) → Request