bindText

abstract fun bindText(index: Int, value: Buffer, encoding: SqliteTextEncoding.BindText, size: Long = value.byteSize, cleanup: (Buffer) -> Unit? = null)(source)

Sets the text buffer value, interpreted using encoding, as the value for the parameter at index.

When SQLite no longer needs value, it invokes cleanup.

Throws

if binding the value fails.