bindDouble

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

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

Parameters

index

The 1-based index to the parameter to bind.

value

The value to bind.


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.

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 $).

value

The value to bind.

Throws

if the parameter name is not found.