SQLITE3_DB_HANDLE(3) Library Functions Manual SQLITE3_DB_HANDLE(3)

sqlite3_db_handlefind the database handle of a prepared statement

#include <sqlite3.h>

sqlite3 *
sqlite3_db_handle(sqlite3_stmt*);

The sqlite3_db_handle interface returns the database connection handle to which a prepared statement belongs. The database connection returned by sqlite3_db_handle is the same database connection that was the first argument to the () call (or its variants) that was used to create the statement in the first place.

These declarations were extracted from the interface documentation at line 6578.

SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt*);

sqlite3(3), sqlite3_prepare(3), sqlite3_stmt(3)

January 24, 2024 NetBSD 11.0