Skip to main content

open_db

Function open_db 

Source
pub fn open_db(path: &Path) -> Result<Connection, RippyError>
Expand description

Open (or create) the tracking database and ensure the schema exists.

§Errors

Returns RippyError::Tracking if the database cannot be opened or the schema cannot be created.