toggle menu
indexeddb
js
switch theme
search in API
external
/
com.juul.indexeddb.external
/
IDBDatabase
IDBDatabase
external
class
IDBDatabase
:
EventTarget
https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase
Members
Constructors
IDBDatabase
Link copied to clipboard
constructor
(
)
Properties
name
Link copied to clipboard
val
name
:
String
object
Store
Names
Link copied to clipboard
val
objectStoreNames
:
Array
<
String
>
version
Link copied to clipboard
val
version
:
Int
Functions
add
Event
Listener
Link copied to clipboard
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
dynamic
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
dynamic
)
close
Link copied to clipboard
fun
close
(
)
create
Object
Store
Link copied to clipboard
fun
createObjectStore
(
name
:
String
)
:
IDBObjectStore
fun
createObjectStore
(
name
:
String
,
options
:
dynamic
)
:
IDBObjectStore
delete
Object
Store
Link copied to clipboard
fun
deleteObjectStore
(
name
:
String
)
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
remove
Event
Listener
Link copied to clipboard
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
dynamic
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
dynamic
)
transaction
Link copied to clipboard
fun
transaction
(
storeNames
:
Array
<
String
>
,
mode
:
String
,
options
:
dynamic
)
:
IDBTransaction