Function deltachat::sql::new_connection

source ·
fn new_connection(path: &Path, passphrase: &str) -> Result<Connection>
Expand description

Creates a new SQLite connection.

path is the database path.

passphrase is the SQLCipher database passphrase. Empty string if database is not encrypted.