Method sqliteStatement.BindAll
Overload
Binds multiple values of any supported types.
public sqliteStatement BindAll(params object[] values)
Parameters
|
values (object[])
Values that will replace
|
Returns
|
sqliteStatement
this. |
Exceptions
|
NotSupportedException
A value is of an unsupported type. |
|
SLException
Failed. |
Remarks
For each parameter calls a sqlite3_bind_x function depending on type. Uses index 1, 2 and so on.
This function is an alternative to calling BindX functions for each parameter. However it supports less types and adds boxing overhead.
Does not call sqlite3_reset and sqlite3_clear_bindings. If need, call sqliteStatement.Reset before.