ObjectStore class - dart:indexed_db library (original) (raw)

Annotations

Properties

autoIncrementbool?

no setter

hashCodeint

The hash code for this object.

no setterinherited

indexNamesList<String>?

no setter

keyPathObject?

no setter

nameString?

getter/setter pair

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

transactionTransaction?

no setter

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

noSuchMethod(Invocation invocation)→ dynamic

Invoked when a nonexistent method or property is accessed.

inherited

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

toString()→ String

A string representation of this object.

inherited

Operators

operator ==(Object other)→ bool

The equality operator.

inherited