Home | History | Annotate | Line # | Download | only in man
      1 .Dd April 29, 2026
      2 .Dt SQLITE_ROLLBACK 3
      3 .Os
      4 .Sh NAME
      5 .Nm SQLITE_ROLLBACK ,
      6 .Nm SQLITE_FAIL ,
      7 .Nm SQLITE_REPLACE
      8 .Nd conflict resolution modes
      9 .Sh SYNOPSIS
     10 .In sqlite3.h
     11 .Fd #define SQLITE_ROLLBACK
     12 .Fd #define SQLITE_FAIL
     13 .Fd #define SQLITE_REPLACE
     14 .Sh DESCRIPTION
     15 These constants are returned by
     16 .Fn sqlite3_vtab_on_conflict
     17 to inform a virtual table implementation of the ON CONFLICT
     18 mode for the SQL statement being evaluated.
     19 .Pp
     20 Note that the SQLITE_IGNORE constant is also used as a
     21 potential return value from the
     22 .Fn sqlite3_set_authorizer
     23 callback and that SQLITE_ABORT is also a result code.
     24 .Sh IMPLEMENTATION NOTES
     25 These declarations were extracted from the
     26 interface documentation at line 10610.
     27 .Bd -literal
     28 #define SQLITE_ROLLBACK 1
     29 /* #define SQLITE_IGNORE 2 // Also used by sqlite3_authorizer() callback */
     30 #define SQLITE_FAIL     3
     31 /* #define SQLITE_ABORT 4  // Also an error code */
     32 #define SQLITE_REPLACE  5
     33 .Ed
     34 .Sh SEE ALSO
     35 .Xr sqlite3_set_authorizer 3 ,
     36 .Xr sqlite3_vtab_on_conflict 3 ,
     37 .Xr SQLITE_DENY 3 ,
     38 .Xr SQLITE_OK 3
     39