Sets a boolean data parameter.
Only the database type BOOLEAN may be set using this call.
Parameters
int32_t MimerSetBoolean (
MimerStatement statementhandle,
int16_t param_no,
int32_t value)
statementhandle
in
A handle returned by MimerBeginStatement[C|8], identifying a prepared statement.
param_no
in
A number identifying the parameter. First parameter is 1.
value
in
A BOOLEAN value.
0 = false
1 = true
Returns
A negative value indicating an error, or zero if successful.
Return value
Description
MIMER_SUCCESS
Success.
MIMER_CAST_VIOLATION
If the referred database type was not BOOLEAN.
MIMER_HANDLE_INVALID
The statementhandle parameter was not recognized as a handle.
MIMER_NONEXISTENT_COLUMN_PARAMETER
The referenced parameter does not exist.
MIMER_NULL_VIOLATION
Cannot assign the null value to a non-nullable parameter
MIMER_OUTOFMEMORY
If not enough memory could be allocated.
MIMER_PARAMETER_NOT_INPUT
The referenced parameter is not an input or input/output parameter, which is required when calling a data input routine.
Notes
Micro API compatible.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4