Skip to main content

open_readonly

Function open_readonly 

Source
pub(super) fn open_readonly(path: &Path) -> Result<Option<Connection>, String>
Expand description

Open an existing SQLite file read-only. Ok(None) when the file is absent — never creates one (the whole point of this path).