ObjectStore class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- ObjectStore
- Annotations
- @DomName('IDBObjectStore')
- @Unstable()
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
Properties
- autoIncrement → bool @DocsEditable(), @DomName('IDBObjectStore.autoIncrement'), read-only
- indexNames → List<String> @DocsEditable(), @DomName('IDBObjectStore.indexNames'), read-only
- keyPath → Object @DocsEditable(), @DomName('IDBObjectStore.keyPath'), read-only
- name → String @DocsEditable(), @DomName('IDBObjectStore.name'), read-only
- transaction → Transaction @DocsEditable(), @DomName('IDBObjectStore.transaction'), read-only
- hashCode → int read-only, inherited
- runtimeType → Type 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