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
Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun compileStatement(@TrustedSql sql: String, bindArgs: Array<out Any?>? = null): ISQLStatement
Link copied to clipboard
abstract fun delete(table: String, @TrustedSql whereClause: String, whereArgs: Array<out Any?>): Int
Link copied to clipboard
abstract fun endTransaction()
Link copied to clipboard
abstract fun exec(@TrustedSql 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(@TrustedSql sql: String, selectionArgs: Array<out Any?>): ICursor
abstract fun query(distinct: Boolean, @TrustedSql table: String, @TrustedSql columns: Array<out String>, @TrustedSql selection: String, selectionArgs: Array<out Any?>, @TrustedSql groupBy: String?, @TrustedSql having: String?, @TrustedSql orderBy: String?, limit: Int?): ICursor
Link copied to clipboard
Link copied to clipboard
abstract fun update(table: String, values: IContentValues, @TrustedSql whereClause: String, whereArgs: Array<out Any?>, conflictAlgorithm: IConflictAlgorithm): Int
Link copied to clipboard
abstract fun upsert(table: String, insertValues: IContentValues, columns: Array<out String>, updateValues: IContentValues): Long
Link copied to clipboard
abstract fun yieldTransaction(): Boolean
abstract fun yieldTransaction(pauseMillis: Long): Boolean