xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_vtab_on_conflict.3 (revision aef5eb5f59cdfe8314f1b5f78ac04eb144e44010)
1.Dd December 19, 2018
2.Dt SQLITE3_VTAB_ON_CONFLICT 3
3.Os
4.Sh NAME
5.Nm sqlite3_vtab_on_conflict
6.Nd Determine The Virtual Table Conflict Policy
7.Sh SYNOPSIS
8.Ft int
9.Fo sqlite3_vtab_on_conflict
10.Fa "sqlite3 *"
11.Fc
12.Sh DESCRIPTION
13This function may only be called from within a call to the xUpdate
14method of a virtual table implementation for an INSERT
15or UPDATE operation.
16The value returned is one of SQLITE_ROLLBACK, SQLITE_IGNORE,
17SQLITE_FAIL, SQLITE_ABORT, or SQLITE_REPLACE,
18according to the ON CONFLICT mode of the SQL statement that
19triggered the call to the xUpdate method of the virtual table.
20.Sh SEE ALSO
21.Xr SQLITE_OK 3 ,
22.Xr SQLITE_ROLLBACK 3 ,
23.Xr SQLITE_DENY 3 ,
24.Xr SQLITE_ROLLBACK 3
25