Articlegrdb 7.3.0GRDB
Integrity Checks
Perform integrity checks of the database content
Integrity Checks
func checkForeignKeys(
) throws Throws an error if there exists a foreign key violation in the database.
func checkForeignKeys(in: String, in: String?
) throws Throws an error if there exists a foreign key violation in the table.
func foreignKeyViolations(
) throws -> RecordCursor<ForeignKeyViolation> Returns a cursor over foreign key violations in the database.
func foreignKeyViolations(in: String, in: String?
) throws -> RecordCursor<ForeignKeyViolation> Returns a cursor over foreign key violations in the table.
struct ForeignKeyViolation
A foreign key violation.