pub async fn checkpoint(pool: &SqlitePool) -> ClawResult<()>Expand description
Trigger an immediate WAL checkpoint, flushing WAL frames into the main database file.
§Errors
Returns a crate::error::ClawError if the checkpoint PRAGMA fails.
pub async fn checkpoint(pool: &SqlitePool) -> ClawResult<()>Trigger an immediate WAL checkpoint, flushing WAL frames into the main database file.
Returns a crate::error::ClawError if the checkpoint PRAGMA fails.