SQLITE3_VTAB_ON_CONFLICT(3) Library Functions Manual SQLITE3_VTAB_ON_CONFLICT(3)

sqlite3_vtab_on_conflict — determine the virtual table conflict policy

#include <sqlite3.h>

int
sqlite3_vtab_on_conflict(sqlite3 *);

This function may only be called from within a call to the xUpdate method of a virtual table implementation for an INSERT or UPDATE operation. The value returned is one of SQLITE_ROLLBACK, SQLITE_IGNORE, SQLITE_FAIL, SQLITE_ABORT, or SQLITE_REPLACE, according to the ON CONFLICT mode of the SQL statement that triggered the call to the xUpdate method of the virtual table.

These declarations were extracted from the interface documentation at line 10279.

SQLITE_API int sqlite3_vtab_on_conflict(sqlite3 *);

SQLITE_DENY(3), SQLITE_OK(3), SQLITE_ROLLBACK(3)

April 29, 2026 NetBSD 11.99