IDatabase

Properties

Link copied to clipboard
abstract val inTransaction: Boolean
Link copied to clipboard
abstract var version: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract override fun close()
Link copied to clipboard
abstract fun compileStatement(sql: String, bindArgs: Array<out Any?>? = null): ISQLStatement
Link copied to clipboard
abstract fun delete(table: String, whereClause: String, whereArgs: Array<out Any?>): Int
Link copied to clipboard
abstract fun endTransaction()
Link copied to clipboard
abstract fun exec(sql: String, bindArgs: Array<out Any?>? = null)
Link copied to clipboard
abstract fun insert(table: String, values: IContentValues, conflictAlgorithm: IConflictAlgorithm): Long
Link copied to clipboard
abstract fun isOpen(): Boolean
Link copied to clipboard
abstract fun query(query: ISQLQuery): ICursor
abstract fun query(sql: String, selectionArgs: Array<out Any?>): ICursor
abstract fun query(    distinct: Boolean,     table: String,     columns: Array<out String>,     selection: String,     selectionArgs: Array<out Any?>,     groupBy: String?,     having: String?,     orderBy: String?,     limit: Int?): ICursor
Link copied to clipboard
Link copied to clipboard
abstract fun update(table: String, values: IContentValues, whereClause: String, whereArgs: Array<out Any?>, conflictAlgorithm: IConflictAlgorithm): Int
Link copied to clipboard
abstract fun upsert(table: String, values: IContentValues, columns: Array<out String>, update: String): Long
Link copied to clipboard
abstract fun yieldTransaction(): Boolean
abstract fun yieldTransaction(pauseMillis: Long): Boolean