Small. Fast. Reliable.
Choose any three.

About Sitemap Documentation Download License News Developers Support

## SQLite C Interface

## Find The Database Handle Of A Prepared Statement

>     sqlite3 *sqlite3_db_handle(sqlite3_stmt*);

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

### Invariants:

F13123 | The sqlite3_db_handle(S) interface returns a pointer to the database connection associated with prepared statement S.

See also lists of Objects, Constants, and Functions.

This page last modified 2008/05/12 13:08:44 UTC