GlobalDatabaseBuilder

class GlobalDatabaseBuilder(sqlDriver: SqlDriver, platformDatabaseData: PlatformDatabaseData, queriesContext: CoroutineContext = KaliumDispatcherImpl.io)

Constructors

Link copied to clipboard
internal constructor(sqlDriver: SqlDriver, platformDatabaseData: PlatformDatabaseData, queriesContext: CoroutineContext = KaliumDispatcherImpl.io)

Properties

Link copied to clipboard
Link copied to clipboard
internal val database: GlobalDatabase

Functions

Link copied to clipboard
fun close()

Stop and await all database users before closing. A failed close remains a failure on subsequent calls.

Link copied to clipboard
fun nuke(): Boolean