Method sqliteStatement.Bind(+ 12 overloads)
Overload
Calls sqlite3_bind_int.
public sqliteStatement Bind(SLIndexOrName sqlParam, int value)
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
value (int) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Overload(next)
Calls sqlite3_bind_int.
public sqliteStatement Bind(SLIndexOrName sqlParam, uint value)
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
value (uint) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Overload(next)
Calls sqlite3_bind_int64.
public sqliteStatement Bind(SLIndexOrName sqlParam, long value)
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
value (long) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Overload(next)
Calls sqlite3_bind_int64.
public sqliteStatement Bind(SLIndexOrName sqlParam, ulong value)
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
value (ulong) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Overload(next)
Calls sqlite3_bind_int (0 or 1).
public sqliteStatement Bind(SLIndexOrName sqlParam, bool value)
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
value (bool) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Overload(next)
Binds an enum value as int or long. Calls sqlite3_bind_int or sqlite3_bind_int64.
public sqliteStatement Bind<T>(SLIndexOrName sqlParam, T value) where T : unmanaged, Enum
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
value (T) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Type Parameters
T |
Overload(next)
Calls sqlite3_bind_double.
public sqliteStatement Bind(SLIndexOrName sqlParam, double value)
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
value (double) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Overload(next)
Calls sqlite3_bind_text16.
public sqliteStatement Bind(SLIndexOrName sqlParam, string value)
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
value (string) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Overload(next)
Calls sqlite3_bind_blob64.
public sqliteStatement Bind(SLIndexOrName sqlParam, void* blob, long nBytes)
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
blob (void*) |
nBytes (long) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Overload(next)
Calls sqlite3_bind_blob64.
public sqliteStatement Bind<T>(SLIndexOrName sqlParam, ReadOnlySpan<T> blob) where T : unmanaged
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
blob (ReadOnlySpan<T>) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Type Parameters
T |
Overload(next)
Calls sqlite3_bind_blob64.
public sqliteStatement Bind<T>(SLIndexOrName sqlParam, Span<T> blob) where T : unmanaged
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
blob (Span<T>) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Type Parameters
T |
Overload(next)
Calls sqlite3_bind_blob64.
public sqliteStatement Bind<T>(SLIndexOrName sqlParam, T[] array) where T : unmanaged
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
array (T[]) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Type Parameters
T |
Overload(top)
Calls sqlite3_bind_blob64.
public sqliteStatement Bind<T>(SLIndexOrName sqlParam, List<T> list) where T : unmanaged
Parameters
sqlParam (SLIndexOrName)
Parameter name or 1-based index. |
list (List<T>) |
Returns
sqliteStatement
this. |
Exceptions
SLException
Failed. |
Type Parameters
T |