AndroidSqliteDriver

constructor(openHelper: SupportSQLiteOpenHelper)
constructor(database: SupportSQLiteDatabase, cacheSize: Int = DEFAULT_CACHE_SIZE, windowSizeBytes: Long? = null)


constructor(schema: SqlSchema<QueryResult.Value<Unit>>, context: Context, name: String? = null, factory: SupportSQLiteOpenHelper.Factory = FrameworkSQLiteOpenHelperFactory(), callback: SupportSQLiteOpenHelper.Callback = AndroidSqliteDriver.Callback(schema), cacheSize: Int = DEFAULT_CACHE_SIZE, useNoBackupDirectory: Boolean = false, windowSizeBytes: Long? = null)

Parameters

cacheSize

The number of compiled sqlite statements to keep in memory per connection. Defaults to 20.

useNoBackupDirectory

Sets whether to use a no backup directory or not.

windowSizeBytes

Size of cursor window in bytes, per CursorWindow (Android 28+ only), or null to use the default.