xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3changeset_fk_conflicts.3 (revision 865c57e0098351fba0d2d2a97b33e7e0270e62c6)
1.Dd December 19, 2018
2.Dt SQLITE3CHANGESET_FK_CONFLICTS 3
3.Os
4.Sh NAME
5.Nm sqlite3changeset_fk_conflicts
6.Nd Determine The Number Of Foreign Key Constraint Violations
7.Sh SYNOPSIS
8.Ft int
9.Fo sqlite3changeset_fk_conflicts
10.Fa "sqlite3_changeset_iter *pIter"
11.Fa "int *pnOut                      "
12.Fc
13.Sh DESCRIPTION
14This function may only be called with an iterator passed to an SQLITE_CHANGESET_FOREIGN_KEY
15conflict handler callback.
16In this case it sets the output variable to the total number of known
17foreign key violations in the destination database and returns SQLITE_OK.
18.Pp
19In all other cases this function returns SQLITE_MISUSE.
20