blob: 557ead8ff93e8515fb861226a439dd9b885a650f (
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
32
33
34
35
36
37
38
39
40
41
|
.Dd January 24, 2024
.Dt SQLITE3 3
.Os
.Sh NAME
.Nm sqlite3
.Nd database connection handle
.Sh SYNOPSIS
.In sqlite3.h
.Vt typedef struct sqlite3 sqlite3;
.Sh DESCRIPTION
Each open SQLite database is represented by a pointer to an instance
of the opaque structure named "sqlite3".
It is useful to think of an sqlite3 pointer as an object.
The
.Fn sqlite3_open ,
.Fn sqlite3_open16 ,
and
.Fn sqlite3_open_v2
interfaces are its constructors, and
.Fn sqlite3_close
and
.Fn sqlite3_close_v2
are its destructors.
There are many other interfaces (such as
.Fn sqlite3_prepare_v2 ,
.Fn sqlite3_create_function ,
and
.Fn sqlite3_busy_timeout
to name but three) that are methods on an sqlite3 object.
.Sh IMPLEMENTATION NOTES
These declarations were extracted from the
interface documentation at line 259.
.Bd -literal
typedef struct sqlite3 sqlite3;
.Ed
.Sh SEE ALSO
.Xr sqlite3_busy_timeout 3 ,
.Xr sqlite3_close 3 ,
.Xr sqlite3_create_function 3 ,
.Xr sqlite3_open 3 ,
.Xr sqlite3_prepare 3
|