summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/sqlite3_db_config.3
blob: 2383c14587151c7847bc6eda20c92aa6f660949b (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
.Dd January 24, 2024
.Dt SQLITE3_DB_CONFIG 3
.Os
.Sh NAME
.Nm sqlite3_db_config
.Nd configure database connections
.Sh SYNOPSIS
.In sqlite3.h
.Ft int
.Fo sqlite3_db_config
.Fa "sqlite3*"
.Fa "int op"
.Fa "..."
.Fc
.Sh DESCRIPTION
The sqlite3_db_config() interface is used to make configuration changes
to a database connection.
The interface is similar to
.Fn sqlite3_config
except that the changes apply to a single database connection
(specified in the first argument).
.Pp
The second argument to sqlite3_db_config(D,V,...)  is the configuration verb
- an integer code that indicates what aspect of the database connection
is being configured.
Subsequent arguments vary depending on the configuration verb.
.Pp
Calls to sqlite3_db_config() return SQLITE_OK if and only if the call
is considered successful.
.Sh IMPLEMENTATION NOTES
These declarations were extracted from the
interface documentation at line 1683.
.Bd -literal
SQLITE_API int sqlite3_db_config(sqlite3*, int op, ...);
.Ed
.Sh SEE ALSO
.Xr sqlite3 3 ,
.Xr sqlite3_config 3 ,
.Xr SQLITE_DBCONFIG_MAINDBNAME 3