isIntegrityCheckOK

A convenience function that performs an integrity check and returns a boolean indicating success.

This method runs PRAGMA integrity_check and simplifies the result to a single boolean value. It is useful for quickly verifying if the database or a specific table is free of corruption.

Return

true if the integrity check passes (i.e., returns "ok"), false otherwise.

Author

MOHAMMAD AZIM ANSARI

Parameters

table

The specific table to check. If null (the default), the entire database is checked.

See also