xref: /netbsd-src/external/public-domain/sqlite/man/SQLITE_DENY.3 (revision b9988867a8ad969c45a52aa7628bc932ec98d46b)
1.Dd January 24, 2024
2.Dt SQLITE_DENY 3
3.Os
4.Sh NAME
5.Nm SQLITE_DENY ,
6.Nm SQLITE_IGNORE
7.Nd authorizer return codes
8.Sh SYNOPSIS
9.In sqlite3.h
10.Fd #define SQLITE_DENY
11.Fd #define SQLITE_IGNORE
12.Sh DESCRIPTION
13The authorizer callback function must return
14either SQLITE_OK or one of these two constants in order to
15signal SQLite whether or not the action is permitted.
16See the authorizer documentation for additional
17information.
18.Pp
19Note that SQLITE_IGNORE is also used as a conflict resolution mode
20returned from the
21.Fn sqlite3_vtab_on_conflict
22interface.
23.Sh IMPLEMENTATION NOTES
24These declarations were extracted from the
25interface documentation at line 3219.
26.Bd -literal
27#define SQLITE_DENY   1   /* Abort the SQL statement with an error */
28#define SQLITE_IGNORE 2   /* Don't allow access, but don't generate an error */
29.Ed
30.Sh SEE ALSO
31.Xr sqlite3_set_authorizer 3 ,
32.Xr sqlite3_vtab_on_conflict 3 ,
33.Xr SQLITE_OK 3 ,
34.Xr SQLITE_ROLLBACK 3
35