userDatabaseBuilder

expect fun userDatabaseBuilder(platformDatabaseData: PlatformDatabaseData, userId: UserIDEntity, passphrase: UserDBSecret?, dispatcher: <Error class: unknown class>, enableWAL: Boolean = true): UserDatabaseBuilder

Creates a UserDatabaseBuilder for the given userId and passphrase

Parameters

platformDatabaseData

Platform-specific data used to create the database

userId

The user id of the database

passphrase

The passphrase used to encrypt the database

dispatcher

The dispatcher used to perform database operations

enableWAL

Whether to enable WAL mode for the database https://www.sqlite.org/wal.html

actual fun userDatabaseBuilder(platformDatabaseData: PlatformDatabaseData, userId: UserIDEntity, passphrase: UserDBSecret?, dispatcher: <Error class: unknown class>, enableWAL: Boolean): UserDatabaseBuilder
actual fun userDatabaseBuilder(platformDatabaseData: PlatformDatabaseData, userId: UserIDEntity, passphrase: UserDBSecret?, dispatcher: <Error class: unknown class>, enableWAL: Boolean): UserDatabaseBuilder