Database

class Database

Functions

Link copied to clipboard
fun close()
Link copied to clipboard
suspend fun <T> transaction(vararg store: String, durability: Durability = Durability.Default, action: suspend Transaction.() -> T): T

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

Link copied to clipboard
suspend fun <T> writeTransaction(vararg store: String, durability: Durability = Durability.Default, action: suspend WriteTransaction.() -> T): T

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