Method sqlite.GetStruct
Overload
Executes single SQL statement and gets single value.
public bool GetStruct<T>(out T value, string sql, params object[] bind) where T : unmanaged
Parameters
value (T)
Receives data. |
sql (string)
Single SQL statement. |
bind (object[])
Values that will replace |
Returns
bool
|
Exceptions
SLException
Failed. |
NotSupportedException
sql contains more than single SQL statement. |
Type Parameters
T |
Remarks
Can be used to get various value types, for example decimal, Guid, RECT.