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.

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.