IDBDatabase

https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase

Properties

Link copied to clipboard
abstract external val name: String
Link copied to clipboard
abstract external val objectStoreNames: JsArray<JsString>
Link copied to clipboard
abstract external val version: Int

Functions

Link copied to clipboard
abstract external fun addEventListener(type: String, listener: (Event) -> Unit)
Link copied to clipboard
abstract external fun close()
Link copied to clipboard
abstract external fun createObjectStore(name: String): IDBObjectStore
abstract external fun createObjectStore(name: String, options: IDBCreateObjectStoreOptions): IDBObjectStore
Link copied to clipboard
abstract external fun deleteObjectStore(name: String)
Link copied to clipboard
abstract external fun removeEventListener(type: String, listener: (Event) -> Unit)
Link copied to clipboard
abstract external fun transaction(storeNames: JsArray<JsString>, mode: String, options: IDBTransactionOptions): IDBTransaction