summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/SQLITE_DENY.3
blob: 0f8c90ffc43a7434083f58103a48284699898046 (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
.Dd January 24, 2024
.Dt SQLITE_DENY 3
.Os
.Sh NAME
.Nm SQLITE_DENY ,
.Nm SQLITE_IGNORE
.Nd authorizer return codes
.Sh SYNOPSIS
.In sqlite3.h
.Fd #define SQLITE_DENY
.Fd #define SQLITE_IGNORE
.Sh DESCRIPTION
The authorizer callback function must return
either SQLITE_OK or one of these two constants in order to
signal SQLite whether or not the action is permitted.
See the authorizer documentation for additional
information.
.Pp
Note that SQLITE_IGNORE is also used as a conflict resolution mode
returned from the
.Fn sqlite3_vtab_on_conflict
interface.
.Sh IMPLEMENTATION NOTES
These declarations were extracted from the
interface documentation at line 3219.
.Bd -literal
#define SQLITE_DENY   1   /* Abort the SQL statement with an error */
#define SQLITE_IGNORE 2   /* Don't allow access, but don't generate an error */
.Ed
.Sh SEE ALSO
.Xr sqlite3_set_authorizer 3 ,
.Xr sqlite3_vtab_on_conflict 3 ,
.Xr SQLITE_OK 3 ,
.Xr SQLITE_ROLLBACK 3