summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/SQLITE_DENY.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
commit253e67c8b3a72b3a4757fdbc5845297628db0a4a (patch)
treeadf53b66087aa30dfbf8bf391a1dadb044c3bf4d /static/netbsd/man3/SQLITE_DENY.3
parenta9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff)
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man3/SQLITE_DENY.3')
-rw-r--r--static/netbsd/man3/SQLITE_DENY.334
1 files changed, 34 insertions, 0 deletions
diff --git a/static/netbsd/man3/SQLITE_DENY.3 b/static/netbsd/man3/SQLITE_DENY.3
new file mode 100644
index 00000000..0f8c90ff
--- /dev/null
+++ b/static/netbsd/man3/SQLITE_DENY.3
@@ -0,0 +1,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