bind

Sets the bytes buffer value as the value for the parameter at index or sets null as the value for the parameter at index if value is null.

Throws

if the bind operation fails.


Sets the 32-bit signed integer value as the value for the parameter at index or sets null as the value for the parameter at index if value is null.

Throws

if the bind operation fails.


Sets the 64-bit signed integer value as the value for the parameter at index or sets null as the value for the parameter at index if value is null.

Throws

if the bind operation fails.


Sets the 64-bit floating point value as the value for the parameter at index or sets null as the value for the parameter at index if value is null.

Throws

if the bind operation fails.


Sets the text value as the UTF-8 encoded value for the parameter at index or sets null as the value for the parameter at index if value is null.

Throws

if the bind operation fails.


fun PreparedStatementParameters.bind(index: Int, value: Any?, type: String? = null)(source)

Sets value as the value for the parameter at index or sets null as the value for the parameter at index if value is null.

Throws

if the bind operation fails.