SupportSQLiteProgram


Known direct subclasses

An interface to map the behavior of android.database.sqlite.SQLiteProgram.

Summary

Public functions

Unit
bindBlob(index: Int, value: ByteArray)

Bind a byte array value to this statement.

android
Unit
bindDouble(index: Int, value: Double)

Bind a double value to this statement.

android
Unit
bindLong(index: Int, value: Long)

Bind a long value to this statement.

android
Unit
bindNull(index: Int)

Bind a NULL value to this statement.

android
Unit
bindString(index: Int, value: String)

Bind a String value to this statement.

android
Unit

Clears all existing bindings.

android

Inherited functions

From java.io.Closeable
Unit
android

Public functions

bindBlob

fun bindBlob(index: Int, value: ByteArray): Unit

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

Parameters
index: Int

The 1-based index to the parameter to bind

value: ByteArray

The value to bind, must not be null

bindDouble

fun bindDouble(index: Int, value: Double): Unit

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

Parameters
index: Int

The 1-based index to the parameter to bind

value: Double

The value to bind

bindLong

fun bindLong(index: Int, value: Long): Unit

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

Parameters
index: Int

The 1-based index to the parameter to bind

value: Long

The value to bind

bindNull

fun bindNull(index: Int): Unit

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

Parameters
index: Int

The 1-based index to the parameter to bind null to

bindString

fun bindString(index: Int, value: String): Unit

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

Parameters
index: Int

The 1-based index to the parameter to bind

value: String

The value to bind, must not be null

clearBindings

fun clearBindings(): Unit

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