Name

sqlite3_context_db_handle() — Get a database connection from a function context

Definition

sqlite3* sqlite3_context_db_handle( sqlite3_context* ctx );
ctx

An SQL function context, provided by the SQLite library.

Returns

The database connection associated with this context.

Description

This function returns the database connection that is associated with an SQL function context. This is called from inside a C function that implements a custom SQL function or SQL aggregate.

See Also

sqlite3_create_function()