Skip to main content

open_storage

Function open_storage 

Source
pub fn open_storage(
    db_path: &Path,
    max_entries: usize,
) -> Result<(SqliteStorage, SqliteSearcher)>
Expand description

Create a paired storage + searcher sharing the same connection pool.

ยงErrors

Returns an error if the database cannot be opened, the connection pool cannot be built, or migrations fail.