ObjectStore class
- Annotations
- @DomName('IDBObjectStore')
- @Unstable()
- @Native("IDBObjectStore")
Properties
- autoIncrement → bool
-
@DocsEditable(), @DomName('IDBObjectStore.autoIncrement'), final
-
indexNames
→ List<
String> -
@Creates('DomStringList'), @DocsEditable(), @DomName('IDBObjectStore.indexNames'), @Returns('DomStringList|Null'), final
- keyPath → Object
-
@annotation_Creates_SerializedScriptValue, @DocsEditable(), @DomName('IDBObjectStore.keyPath'), final
- name ↔ String
-
@DocsEditable(), @DomName('IDBObjectStore.name'), read / write
- transaction → Transaction
-
@DocsEditable(), @DomName('IDBObjectStore.transaction'), final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
add(
dynamic value, [ dynamic key ]) → Future -
@DomName('IDBObjectStore.add')
-
clear(
) → Future -
@DomName('IDBObjectStore.clear')
-
count(
[dynamic key_OR_range ]) → Future< int> -
@DomName('IDBObjectStore.count')
-
createIndex(
String name, dynamic keyPath, { bool unique, bool multiEntry }) → Index -
@DomName('IDBObjectStore.createIndex')
-
delete(
dynamic key_OR_keyRange) → Future -
@DomName('IDBObjectStore.delete')
-
deleteIndex(
String name) → void -
@DocsEditable(), @DomName('IDBObjectStore.deleteIndex')
-
getAll(
Object query, [ int count ]) → Request -
@DocsEditable(), @DomName('IDBObjectStore.getAll'), @Experimental()
-
getAllKeys(
Object query, [ int count ]) → Request -
@DocsEditable(), @DomName('IDBObjectStore.getAllKeys'), @Experimental()
-
getKey(
Object key) → Request -
@DocsEditable(), @DomName('IDBObjectStore.getKey'), @Experimental()
-
getObject(
dynamic key) → Future -
@DomName('IDBObjectStore.get')
-
index(
String name) → Index -
@DocsEditable(), @DomName('IDBObjectStore.index')
-
openCursor(
{dynamic key, KeyRange range, String direction, bool autoAdvance }) → Stream< CursorWithValue> -
Creates a stream of cursors over the records in this object store. [...]
@DomName('IDBObjectStore.openCursor')
-
openKeyCursor(
Object range, [ String direction ]) → Request -
@DocsEditable(), @DomName('IDBObjectStore.openKeyCursor'), @Experimental()
-
put(
dynamic value, [ dynamic key ]) → Future -
@DomName('IDBObjectStore.put')
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited