W3cubDocs

/Dart 2

ObjectStore class

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

Properties

autoIncrementbool
final
indexNamesList<String>
@Creates('DomStringList'), @Returns('DomStringList|Null'), final
keyPathObject
@annotation_Creates_SerializedScriptValue, final
nameString
read / write
transactionTransaction
final
hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

add(dynamic value, [ dynamic key ]) → Future
clear() → Future
count([dynamic key_OR_range ]) → Future<int>
createIndex(String name, dynamic keyPath, { bool unique, bool multiEntry }) → Index
delete(dynamic key_OR_keyRange) → Future
deleteIndex(String name) → void
getAll(Object query, [ int count ]) → Request
getAllKeys(Object query, [ int count ]) → Request
getKey(Object key) → Request
getObject(dynamic key) → Future
index(String name) → Index
openCursor({dynamic key, KeyRange range, String direction, bool autoAdvance }) → Stream<CursorWithValue>
Creates a stream of cursors over the records in this object store. [...]
openKeyCursor(Object range, [ String direction ]) → Request
put(dynamic value, [ dynamic key ]) → Future
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic 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.5.0/dart-indexed_db/ObjectStore-class.html