xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_db_handle.3 (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1.Dd March 11, 2017
2.Dt SQLITE3_DB_HANDLE 3
3.Os
4.Sh NAME
5.Nm sqlite3_db_handle
6.Nd Find The Database Handle Of A Prepared Statement
7.Sh SYNOPSIS
8.Ft sqlite3 *
9.Fo sqlite3_db_handle
10.Fa "sqlite3_stmt*"
11.Fc
12.Sh DESCRIPTION
13The sqlite3_db_handle interface returns the database connection
14handle to which a prepared statement belongs.
15The database connection returned by sqlite3_db_handle
16is the same database connection that was the first
17argument to the sqlite3_prepare_v2() call (or its
18variants) that was used to create the statement in the first place.
19.Sh SEE ALSO
20.Xr sqlite3 3 ,
21.Xr sqlite3_stmt 3 ,
22.Xr sqlite3_prepare 3
23