xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_vtab_on_conflict.3 (revision b9988867a8ad969c45a52aa7628bc932ec98d46b)
1.Dd January 24, 2024
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.In sqlite3.h
9.Ft int
10.Fo sqlite3_vtab_on_conflict
11.Fa "sqlite3 *"
12.Fc
13.Sh DESCRIPTION
14This function may only be called from within a call to the xUpdate
15method of a virtual table implementation for an INSERT
16or UPDATE operation.
17The value returned is one of SQLITE_ROLLBACK, SQLITE_IGNORE,
18SQLITE_FAIL, SQLITE_ABORT, or SQLITE_REPLACE,
19according to the ON CONFLICT mode of the SQL statement that
20triggered the call to the xUpdate method of the virtual table.
21.Sh IMPLEMENTATION NOTES
22These declarations were extracted from the
23interface documentation at line 9816.
24.Bd -literal
25SQLITE_API int sqlite3_vtab_on_conflict(sqlite3 *);
26.Ed
27.Sh SEE ALSO
28.Xr SQLITE_DENY 3 ,
29.Xr SQLITE_OK 3 ,
30.Xr SQLITE_ROLLBACK 3
31