Skip to main content

open_wal_database

Function open_wal_database 

Source
pub fn open_wal_database(path: &Path) -> Result<Connection, StorageError>
Expand description

Open a SQLite database in WAL mode, creating it (and its parent directories) if it does not exist.

ยงErrors

Returns StorageError if the directory cannot be created or the database cannot be opened/configured.