| 
    libnick 2025.10.0
    
   A cross-platform base for native Nickvision applications. 
   | 
 
A sqlite function context. More...
#include <sqlitefunctioncontext.h>
Public Member Functions | |
| SqliteFunctionContext (sqlite3_context *ctx, int argc, sqlite3_value **argv) noexcept | |
| Constructs an SqliteFunctionContext.   | |
| SqliteFunctionContext (const SqliteFunctionContext &)=delete | |
| SqliteFunctionContext (SqliteFunctionContext &&other) noexcept | |
| Constructs a SqliteFunctionContext via move.   | |
| void * | getUserData () const noexcept | 
| Gets the pointer to the user data for the context.   | |
| const std::vector< SqliteValue > & | getArgs () const noexcept | 
| Gets the list of SqliteValue arguments passed to the function.   | |
| void | result () noexcept | 
| Returns a NULL value from the sql function.   | |
| template<SupportedSqliteValue T> | |
| void | result (const T &value) noexcept | 
| Returns a value from the sqlite function.   | |
| void | error (const std::string &err) noexcept | 
| Returns an error from the sql function.   | |
| void | error (int err) noexcept | 
| Returns an error from the sql function.   | |
| SqliteFunctionContext & | operator= (const SqliteFunctionContext &)=delete | 
| SqliteFunctionContext & | operator= (SqliteFunctionContext &&other) noexcept | 
| Assigns a SqliteFunctionContext via move.   | |
A sqlite function context.
      
  | 
  noexcept | 
Constructs an SqliteFunctionContext.
| ctx | sqlite3_context* | 
| argc | The number of arguments passed to the context | 
| argv | The array of sqlite3_value* passed to the context | 
      
  | 
  delete | 
      
  | 
  noexcept | 
Constructs a SqliteFunctionContext via move.
| other | The other SqliteFunctionContext to move | 
      
  | 
  noexcept | 
Returns an error from the sql function.
| err | The error message | 
      
  | 
  noexcept | 
Returns an error from the sql function.
| err | The error code | 
      
  | 
  noexcept | 
Gets the list of SqliteValue arguments passed to the function.
      
  | 
  noexcept | 
Gets the pointer to the user data for the context.
      
  | 
  delete | 
      
  | 
  noexcept | 
Assigns a SqliteFunctionContext via move.
| other | The other SqliteFunctionContext to move | 
      
  | 
  noexcept | 
Returns a NULL value from the sql function.
      
  | 
  inlinenoexcept | 
Returns a value from the sqlite function.
| T | The type of the value to return | 
| value | The value to return |