Home | History | Annotate | Line # | Download | only in man
      1 .Dd April 29, 2026
      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
     13 The authorizer callback function must return
     14 either SQLITE_OK or one of these two constants in order to
     15 signal SQLite whether or not the action is permitted.
     16 See the authorizer documentation for additional
     17 information.
     18 .Pp
     19 Note that SQLITE_IGNORE is also used as a conflict resolution mode
     20 returned from the
     21 .Fn sqlite3_vtab_on_conflict
     22 interface.
     23 .Sh IMPLEMENTATION NOTES
     24 These declarations were extracted from the
     25 interface documentation at line 3470.
     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