Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class Cursor
Link copied to clipboard
sealed class CursorStart
Link copied to clipboard
Link copied to clipboard
class Database
Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
abstract class EventException(message: String?, cause: Throwable?, val event: Event) : Exception
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Key
Link copied to clipboard
class KeyPath
Link copied to clipboard
Link copied to clipboard
class OpenBlockedException(val name: String, val event: Event) : EventException
Link copied to clipboard
sealed class Queryable
Link copied to clipboard
class Request<T>
Link copied to clipboard
open class Transaction
Link copied to clipboard

Functions

Link copied to clipboard
fun bound(x: dynamic, y: dynamic, lowerOpen: Boolean = false, upperOpen: Boolean = false): Key
Link copied to clipboard
suspend fun deleteDatabase(name: String, logger: Logger = NoOpLogger)
Link copied to clipboard
fun lowerBound(x: dynamic, open: Boolean = false): Key
Link copied to clipboard
fun only(z: dynamic): Key
Link copied to clipboard
suspend fun openDatabase(name: String, version: Int, logger: Logger = NoOpLogger, initialize: suspend VersionChangeTransaction.(database: Database, oldVersion: Int, newVersion: Int) -> Unit): Database

Inside the initialize block, you must not call any suspend functions except for:

Link copied to clipboard
fun upperBound(y: dynamic, open: Boolean = false): Key