enable_wal_mode

Function enable_wal_mode 

Source
pub async fn enable_wal_mode(db: &'static Database) -> Result<(), LibsqlError>
Expand description

Enable WAL mode for better concurrency

This should be called after setup() to enable Write-Ahead Logging which improves performance for concurrent database access.