Skip to main content

open_storage_with

Function open_storage_with 

Source
pub fn open_storage_with(
    config: &DatabaseConfig,
    backend: &str,
    pocketbase_url: Option<&str>,
    sqlite_path: Option<&str>,
) -> Result<Box<dyn Storage>>
Expand description

Open a storage backend, overriding the configured backend.