toggle menu
browser
0.0.3
js
switch theme
search in API
browser
/
keyval
Package-level
declarations
Types
Functions
Types
IDBCursor
With
Value
Link copied to clipboard
external
interface
IDBCursorWithValue
IDBObject
Store
Link copied to clipboard
external
interface
IDBObjectStore
IDBRequest
Link copied to clipboard
external
interface
IDBRequest
<
T
>
IDBTransaction
Link copied to clipboard
external
interface
IDBTransaction
Use
Store
Link copied to clipboard
external
interface
UseStore
Functions
clear
Link copied to clipboard
external
fun
clear
(
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Unit
>
create
Store
Link copied to clipboard
external
fun
createStore
(
dbName
:
String
,
storeName
:
String
)
:
UseStore
del
Link copied to clipboard
external
fun
del
(
key
:
String
,
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Unit
>
del
Many
Link copied to clipboard
external
fun
delMany
(
keys
:
Array
<
String
>
,
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Unit
>
entries
Link copied to clipboard
external
fun
entries
(
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Array
<
Array
<
String
>
>
>
get
Link copied to clipboard
external
fun
get
(
key
:
String
,
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
String
?
>
get
Many
Link copied to clipboard
external
fun
getMany
(
keys
:
Array
<
String
>
,
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Array
<
Any
>
>
keys
Link copied to clipboard
external
fun
keys
(
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Array
<
String
>
>
promisify
Request
Link copied to clipboard
external
fun
promisifyRequest
(
request
:
dynamic
)
:
Promise
<
Any
>
set
Link copied to clipboard
external
fun
set
(
key
:
String
,
value
:
Any
,
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Unit
>
set
Many
Link copied to clipboard
external
fun
setMany
(
entries
:
Array
<
Array
<
Any
>
>
,
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Unit
>
update
Link copied to clipboard
external
fun
update
(
key
:
String
,
updater
:
(
oldValue
:
Any
?
)
->
Any
,
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Unit
>
values
Link copied to clipboard
external
fun
values
(
customStore
:
UseStore
=
definedExternally
)
:
Promise
<
Array
<
String
>
>