Name
sqlite3_get_auxdata() — Get auxiliary data from a function parameter
Definition
void* sqlite3_get_auxdata( sqlite3_context* ctx, int pidx );
-
ctx
An SQL function context, provided by the SQLite library.
-
pidx
A function parameter index. The first parameter has an index of zero (
0
).- Returns
A user-defined data pointer set with
sqlite3_set_auxdata()
.
Description
This function is used by an SQL function implementation to
retrieve any application-defined auxiliary data that may have
been attached to a function parameter with sqlite3_set_auxdata()
. If no
data is available, or the data has been cleared, this function
will return NULL.
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.