open_storage

Function open_storage 

Source
pub async fn open_storage(
    name: &str,
    base_dir: Option<&str>,
) -> ChatResult<Connection>
Expand description

Open a file-backed SQLite connection.

If base_dir is provided, the database is stored under that directory. Otherwise it is created in the current working directory.