Name

sqlite3_context — SQL function context

Description

The sqlite3_context structure acts as a data container to pass information between the SQLite library and a custom SQL function implementation. The structure is created by the SQLite library and passed into the function callbacks registered with sqlite3_create_function(). The callback functions can extract the database connection or user-data pointer from the context. The context is also used to pass back an SQL result value or error condition.

An application should never create or destroy an sqlite3_context structure.

The sqlite3_context structure is opaque, and an application should never access any of the data fields directly.

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.