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

sqlite3_create_function()