ISQLStatement

Properties

Link copied to clipboard
abstract val isReadOnly: Boolean

True if and only if the prepared statement makes no direct changes to the content of the database.

Functions

Link copied to clipboard
abstract fun bindBlob(index: Int, value: ByteArray)

Bind a byte array value to this statement. The value remains bound until clearBindings is called.

abstract fun bindBlob(name: String, value: ByteArray)

Bind a byte array value to this statement by parameter name. The value remains bound until clearBindings is called.

Link copied to clipboard
abstract fun bindDouble(index: Int, value: Double)

Bind a double value to this statement. The value remains bound until clearBindings is called.

abstract fun bindDouble(name: String, value: Double)

Bind a double value to this statement by parameter name. The value remains bound until clearBindings is called.

Link copied to clipboard
abstract fun bindInt(index: Int, value: Int)

Bind an integer value to this statement. The value remains bound until clearBindings is called.

abstract fun bindInt(name: String, value: Int)

Bind an integer value to this statement by parameter name. The value remains bound until clearBindings is called.

Link copied to clipboard
abstract fun bindLong(index: Int, value: Long)

Bind a long value to this statement. The value remains bound until clearBindings is called.

abstract fun bindLong(name: String, value: Long)

Bind a long value to this statement by parameter name. The value remains bound until clearBindings is called.

Link copied to clipboard
abstract fun bindNull(index: Int)

Bind a null value to this statement. The value remains bound until clearBindings is called.

abstract fun bindNull(name: String)

Bind a null value to this statement by parameter name. The value remains bound until clearBindings is called.

Link copied to clipboard
abstract fun bindString(index: Int, value: String)

Bind a String value to this statement. The value remains bound until clearBindings is called.

abstract fun bindString(name: String, value: String)

Bind a String value to this statement by parameter name. The value remains bound until clearBindings is called.

Link copied to clipboard
abstract fun clearBindings()

Clears all existing bindings. Unset bindings are treated as null.

Link copied to clipboard
abstract override fun close()
Link copied to clipboard
abstract fun execute()
Link copied to clipboard
abstract fun executeInsert(): Long
Link copied to clipboard
abstract fun executeUpdateDelete(): Int
Link copied to clipboard
abstract fun simpleQueryForLong(): Long
Link copied to clipboard
abstract fun simpleQueryForString(): String?