SQLITE3CHANGESET_FK_CONFLICTS(3) | Library Functions Manual | SQLITE3CHANGESET_FK_CONFLICTS(3)

# NAME

`sqlite3changeset_fk_conflicts` —
Determine The Number Of Foreign Key Constraint Violations

# SYNOPSIS

int
`sqlite3changeset_fk_conflicts`(sqlite3_changeset_iter *pIter, int *pnOut );

# DESCRIPTION

This function may only be called with an iterator passed to an SQLITE_CHANGESET_FOREIGN_KEY conflict handler callback. In this case it sets the output variable to the total number of known foreign key violations in the destination database and returns SQLITE_OK.

In all other cases this function returns SQLITE_MISUSE.

December 19, 2018 | NetBSD 9.2