Name
sqlite3_user_data() — Get user-data pointer from SQL function context
Definition
void* sqlite3_user_data( sqlite3_context* ctx );
-
ctx
An SQL function context, provided by the SQLite library.
- Returns
The user-data pointer passed into
sqlite3_create_function()
.
Description
This function is used by an SQL function implementation to
extract the user-data pointer from the function context. This
allows a function to access the user-data pointer passed to
sqlite3_create_function()
.
See Also
Get Using SQLite now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.