pub fn get_connection(path: &Path) -> Result<Connection, TableError>Expand description
Get a connection to the iMessage SQLite database
use imessage_database::{
util::dirs::default_db_path,
tables::table::get_connection
};
let db_path = default_db_path();
let connection = get_connection(&db_path);