Skip to main content

open_secondary

Function open_secondary 

Source
pub fn open_secondary(db_path: &Path) -> Result<Connection, DatabaseError>
Expand description

Open a fresh connection to an existing Smriti database.

Configures the same WAL / cache pragmas as open_for_drive so background detection tasks see the same performance profile. Returns an error if the path doesn’t exist or can’t be opened.