Skip to main content

integrity_check

Function integrity_check 

Source
pub fn integrity_check(conn: &Connection) -> DbResult<bool>
Expand description

Runs PRAGMA integrity_check and returns whether the database is healthy.

ยงErrors

Returns Error if the integrity check query fails.