Skip to main content

open_messenger_db

Function open_messenger_db 

Source
pub fn open_messenger_db(path: &str, key_hex: &str) -> Result<Db, String>
Expand description

Opens the messenger store (tesserax-store: SQLCipher, WAL, one writer) and makes sure every table exists. The key is applied first on every connection the engine opens.