globalDatabaseProvider

expect fun globalDatabaseProvider(platformDatabaseData: PlatformDatabaseData, queriesContext: <Error class: unknown class> = KaliumDispatcherImpl.io, passphrase: GlobalDatabaseSecret?, enableWAL: Boolean = false): GlobalDatabaseBuilder

Creates a new instance of the GlobalDatabaseBuilder.

Return

a new instance of the GlobalDatabaseBuilder.

Parameters

platformDatabaseData

the platform specific database data.

queriesContext

the context in which the queries will be executed.

passphrase

the passphrase to use for the database encryption.

enableWAL

whether to enable Write-Ahead Logging.

encryptionEnabled

whether to enable encryption.

actual fun globalDatabaseProvider(platformDatabaseData: PlatformDatabaseData, queriesContext: <Error class: unknown class>, passphrase: GlobalDatabaseSecret?, enableWAL: Boolean): GlobalDatabaseBuilder
actual fun globalDatabaseProvider(platformDatabaseData: PlatformDatabaseData, queriesContext: <Error class: unknown class>, passphrase: GlobalDatabaseSecret?, enableWAL: Boolean): GlobalDatabaseBuilder