bindNull

abstract fun bindNull(index: Int)

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

Parameters

index

The 1-based index to the parameter to bind.


abstract fun bindNull(name: String)

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

Named parameters in SQLite can use the following syntax: :name, @name, or $name.

Parameters

name

The name of the parameter to bind (including the prefix character like :, @, or $).

Throws

if the parameter name is not found.