AndroidSqliteDriver

Constructors

Link copied to clipboard
constructor(openHelper: SupportSQLiteOpenHelper)
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)
constructor(database: SupportSQLiteDatabase, cacheSize: Int = DEFAULT_CACHE_SIZE, windowSizeBytes: Long? = null)

Types

Link copied to clipboard
Link copied to clipboard
inner class Transaction(enclosingTransaction: Transacter.Transaction?) : Transacter.Transaction

Functions

Link copied to clipboard
open override fun addListener(vararg queryKeys: String, listener: Query.Listener)
Link copied to clipboard
open override fun close()
Link copied to clipboard
Link copied to clipboard
open override fun execute(identifier: Int?, sql: String, parameters: Int, binders: SqlPreparedStatement.() -> Unit?): QueryResult<Long>
Link copied to clipboard
open override fun <R> executeQuery(identifier: Int?, sql: String, mapper: (SqlCursor) -> QueryResult<R>, parameters: Int, binders: SqlPreparedStatement.() -> Unit?): QueryResult.Value<R>
Link copied to clipboard
Link copied to clipboard
open override fun notifyListeners(vararg queryKeys: String)
Link copied to clipboard
open override fun removeListener(vararg queryKeys: String, listener: Query.Listener)