Dart SDK
dart:indexed_db
ObjectStore
class
ObjectStore
Properties
Methods
Properties
autoIncrement
indexNames
keyPath
name
transaction
Methods
add
clear
delete
count
put
getObject
openCursor
createIndex
deleteIndex
index
openKeyCursor
(Not documented.)
Annotations
DomName('IDBObjectStore')
Unstable()
Properties
bool
autoIncrement
read-only
List
<
String
>
indexNames
read-only
Object
keyPath
read-only
String
name
read-only
Transaction
transaction
read-only
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