PreparedStatementParameters
Exposes the API to bind values to a PreparedStatement's parameters.
Properties
Functions
Link copied to clipboard
Sets value as the value for the parameter at index, using SQLite's own convention for booleans, 1 for true and 0 for false, since SQLite has no dedicated boolean storage class.
Convenience overload of bindBoolean that binds null when value is null.
Link copied to clipboard
Link copied to clipboard
fun PreparedStatementParameters.bindBuffer(index: Int, value: Buffer?, cleanup: (Buffer) -> Unit? = null)
Convenience overload of bindBuffer that binds null when value is null.
Link copied to clipboard
Link copied to clipboard
fun PreparedStatementParameters.bindByteArray(index: Int, value: ByteArray?, size: Int = value?.size ?: 0)
Convenience overload of bindByteArray that binds null when value is null.
Link copied to clipboard
Link copied to clipboard
Convenience overload of bindDouble that binds null when value is null.
Link copied to clipboard
Link copied to clipboard
Convenience overload of bindPointer that binds null when value is null.
Link copied to clipboard
Link copied to clipboard
Convenience overload of bindString that binds null when value is null.
Link copied to clipboard
Overload of bindZeroBlob for sizes larger than Int.MAX_VALUE.