Skip to main content

resolve_config_relative_sqlite_url

Function resolve_config_relative_sqlite_url 

Source
pub fn resolve_config_relative_sqlite_url(
    base_dir: &Path,
    config_dir: &Path,
    value: &str,
) -> Result<String>
Expand description

Resolves the filesystem path inside a sqlite URL while preserving sqlite-specific values.

Non-sqlite URLs, sqlite::memory:, sqlite://, and sqlite://:memory: are returned unchanged. For file-backed sqlite URLs, the embedded path is resolved with resolve_config_relative_path and the original query string is retained.