blob: efc1187040b24a5f679c9cb53cf781bfea6b9cd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
.Dd January 24, 2024
.Dt SQLITE3_DB_HANDLE 3
.Os
.Sh NAME
.Nm sqlite3_db_handle
.Nd find the database handle of a prepared statement
.Sh SYNOPSIS
.In sqlite3.h
.Ft sqlite3 *
.Fo sqlite3_db_handle
.Fa "sqlite3_stmt*"
.Fc
.Sh DESCRIPTION
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
.Fn sqlite3_prepare_v2
call (or its variants) that was used to create the statement in the
first place.
.Sh IMPLEMENTATION NOTES
These declarations were extracted from the
interface documentation at line 6578.
.Bd -literal
SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt*);
.Ed
.Sh SEE ALSO
.Xr sqlite3 3 ,
.Xr sqlite3_prepare 3 ,
.Xr sqlite3_stmt 3
|