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

sqlite3_set_auxdata(), sqlite3_value_xxx()