Skip to main content

open_storage

Function open_storage 

Source
pub async fn open_storage(
    db_path: &Path,
    max_entries: usize,
) -> Result<(TursoStorage, TursoSearcher)>
Expand description

Create a paired storage + searcher backed by turso.

ยงErrors

Returns an error if the database cannot be opened or migrations fail.