IDBDatabase

external class IDBDatabase : JsAny

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun close()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline suspend fun <T : JsAny?> IDBDatabase.suspendRequest(crossinline block: () -> IDBRequest<T>): Outcome<T, Any>

Helper functions

Link copied to clipboard
fun transaction(storeName: String, mode: String): IDBTransaction
fun transaction(storeNames: JsArray<JsString>, mode: String, options: JsAny): IDBTransaction