Skip to main content

open_default

Function open_default 

Source
pub fn open_default(path: &str) -> Result<DefaultEngine, SqliteStoreError>
Expand description

Open a file-backed DefaultEngine at the given path.

The connection is fully initialised (PRAGMAs + migrations) before the handle is returned.

§Errors

Returns SqliteStoreError if the connection cannot be opened or migrations fail.