Skip to main content

open_sqlcipher

Function open_sqlcipher 

Source
pub fn open_sqlcipher(db_path: &Path, key: &KeyMaterial) -> Result<Connection>
Expand description

Open a SQLCipher database, bind the raw key, and set the journal-mode + foreign-keys pragmas. Used by init and exposed for tests.