SQLite

open class SQLite(sqlite: IExternalSQLite)(source)

Since

0.12.1

Constructors

Link copied to clipboard
constructor(sqlite: IExternalSQLite)

Functions

Link copied to clipboard
fun bindBlob(statement: StatementHandle, index: Int, blob: ByteArray): SQLCode
fun bindBlob(statement: Long, index: Int, blob: ByteArray): SQLCode
Link copied to clipboard
fun bindDouble(statement: StatementHandle, index: Int, value: Double): SQLCode
fun bindDouble(statement: Long, index: Int, value: Double): SQLCode
Link copied to clipboard
fun bindInt(statement: StatementHandle, index: Int, value: Int): SQLCode
fun bindInt(statement: Long, index: Int, value: Int): SQLCode
Link copied to clipboard
fun bindInt64(statement: StatementHandle, index: Int, value: Long): SQLCode
Link copied to clipboard
fun bindNull(statement: StatementHandle, index: Int): SQLCode
fun bindNull(statement: Long, index: Int): SQLCode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun bindRow(statement: StatementHandle, args: Array<out Any?>): SQLCode
Link copied to clipboard
fun bindText(statement: StatementHandle, index: Int, value: String): SQLCode
fun bindText(statement: Long, index: Int, value: String): SQLCode
Link copied to clipboard
fun bindZeroBlob(statement: StatementHandle, index: Int, length: Int): SQLCode
fun bindZeroBlob(statement: Long, index: Int, length: Int): SQLCode
Link copied to clipboard
fun blobBytes(blob: Long): Int
Link copied to clipboard
Link copied to clipboard
fun blobOpen(db: DatabaseHandle, name: String, table: String, column: String, row: Long, flags: Int, holder: LongArray): SQLCode
fun blobOpen(db: Long, name: String, table: String, column: String, row: Long, flags: Int, holder: LongArray): SQLCode
Link copied to clipboard
fun blobRead(blob: BlobHandle, offset: Int, destination: ByteArray, destinationOffset: Int, length: Int): SQLCode
fun blobRead(blob: Long, offset: Int, destination: ByteArray, destinationOffset: Int, length: Int): SQLCode
Link copied to clipboard
fun blobReopen(blob: BlobHandle, row: Long): SQLCode
fun blobReopen(blob: Long, row: Long): SQLCode
Link copied to clipboard
fun blobWrite(blob: BlobHandle, offset: Int, source: ByteArray, sourceOffset: Int, length: Int): SQLCode
fun blobWrite(blob: Long, offset: Int, source: ByteArray, sourceOffset: Int, length: Int): SQLCode
Link copied to clipboard
fun busyTimeout(db: Long, millis: Int): SQLCode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun columnBlob(statement: StatementHandle, index: Int): ByteArray?
fun columnBlob(statement: Long, index: Int): ByteArray?
Link copied to clipboard
fun columnCount(statement: Long): Int
Link copied to clipboard
fun columnDouble(statement: StatementHandle, index: Int): Double
fun columnDouble(statement: Long, index: Int): Double
Link copied to clipboard
fun columnInt(statement: StatementHandle, index: Int): Int
fun columnInt(statement: Long, index: Int): Int
Link copied to clipboard
fun columnInt64(statement: StatementHandle, index: Int): Long
fun columnInt64(statement: Long, index: Int): Long
Link copied to clipboard
fun columnName(statement: StatementHandle, index: Int): String
fun columnName(statement: Long, index: Int): String
Link copied to clipboard
fun columnText(statement: StatementHandle, index: Int): String
fun columnText(statement: Long, index: Int): String
Link copied to clipboard
fun columnType(statement: StatementHandle, index: Int): SQLDataType
fun columnType(statement: Long, index: Int): SQLDataType
Link copied to clipboard
fun columnValue(statement: Long, index: Int): Long
Link copied to clipboard
fun commitHook(db: Long, enabled: Boolean, listener: SQLCommitListener?): SQLCode
Link copied to clipboard
fun databaseConfig(db: Long, op: Int, value: Int): SQLCode
Link copied to clipboard
fun databaseHandle(statement: Long): Long
Link copied to clipboard
fun databaseReadOnly(db: Long, name: String): Int
Link copied to clipboard
fun databaseStatus(db: Long, options: Int, reset: Boolean, holder: IntArray): SQLCode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun exec(db: DatabaseHandle, query: String): SQLCode
fun exec(db: Long, query: String): SQLCode
Link copied to clipboard
fun expandedSql(statement: Long): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun finalize(statement: Long): SQLCode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun key(db: Long, key: ByteArray): SQLCode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun openV2(path: String, flags: Int, dbHolder: LongArray): SQLCode
Link copied to clipboard
fun prepareV2(db: DatabaseHandle, sql: String, statementHolder: LongArray): SQLCode
fun prepareV2(db: Long, sql: String, statementHolder: LongArray): SQLCode
Link copied to clipboard
fun progressHandler(db: DatabaseHandle, instructionCount: Int, handler: SQLProgressHandler?)
fun progressHandler(db: Long, instructionCount: Int, handler: SQLProgressHandler?)
Link copied to clipboard
fun rawKey(db: Long, key: ByteArray): SQLCode
Link copied to clipboard
fun rekey(db: Long, key: ByteArray): SQLCode
Link copied to clipboard
fun releaseMemory(bytes: Int): Int
Link copied to clipboard
fun reset(statement: StatementHandle): SQLCode
fun reset(statement: Long): SQLCode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun sql(statement: StatementHandle): String
fun sql(statement: Long): String
Link copied to clipboard
fun statementBusy(statement: Long): Int
Link copied to clipboard
Link copied to clipboard
fun statementStatus(statement: StatementHandle, options: Int, reset: Boolean): Int
fun statementStatus(statement: Long, options: Int, reset: Boolean): Int
Link copied to clipboard
fun step(statement: StatementHandle): SQLCode
fun step(statement: Long): SQLCode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun throwSQLException(db: DatabaseHandle, context: String? = null): Nothing
fun throwSQLException(db: Long, context: String? = null): Nothing
open fun throwSQLException(code: SQLCode, extendedCode: SQLCode, message: String, context: String? = null): Nothing
Link copied to clipboard
Link copied to clipboard
fun traceV2(db: DatabaseHandle, flag: Int)
fun traceV2(db: Long, flag: Int)
Link copied to clipboard
Link copied to clipboard
fun valueDup(value: Long): Long
Link copied to clipboard
fun valueFree(value: Long)
Link copied to clipboard
fun valueFromBind(value: Long): Int
Link copied to clipboard
Link copied to clipboard
fun walCheckpointV2(db: Long, name: String?, mode: Int): SQLCode
Link copied to clipboard
fun <T> withScopedArena(block: () -> T): T