A sqlite function context.
Definition sqlcontext.h:45
void error(int err)
Returns an error from the sql function.
void result(int value)
Returns an int value from the sql function.
void result(double value)
Returns a double value from the sql function.
void error(const std::string &err)
Returns an error from the sql function.
void result(const std::string &value)
Returns a string value from the sql function.
void result(void *value, int n)
Returns a blob value from the sql function.
void * getUserData() const
Gets the pointer to the user data for the context.
const std::vector< SqlValue > & getArgs() const
Gets the list of SqlValue arguments passed to the function.
void result(bool value)
Returns a bool value from the sql function.
void result(sqlite3_int64 value)
Returns an int64 value from the sql function.
SqlContext(sqlite3_context *ctx, int argc, sqlite3_value **argv)
Constructs an SqlContext.
void result()
Returns a NULL value from the sql function.