pub fn connect<P: AsRef<std::path::Path>>(path: P) -> Result<Self, crate::error::Error> {
        let conn = rusqlite::Connection::open(path.as_ref())?;
        conn.execute(DB_INIT_QUERY, rusqlite::NO_PARAMS)?;

        Ok(Self { conn })
    }
/// Connect to a file database stored at the provided path.
Connect to a file database stored at the provided path.
Connect to a file database stored at the provided path .
pub fn connect<P: AsRef<std::path::Path>>(path: P) -> Result<Self, crate::error::Error> {
        let conn = rusqlite::Connection::open(path.as_ref())?;
        conn.execute(DB_INIT_QUERY, rusqlite::NO_PARAMS)?;
        Ok(Self { conn })
    }
pub fn connect < P : AsRef < std :: path :: Path > > ( path : P ) -> Result < Self , crate :: error :: Error > { let conn = rusqlite :: Connection :: open ( path . as_ref ( ) ) ? ; conn . execute ( DB_INIT_QUERY , rusqlite :: NO_PARAMS ) ? ; Ok ( Self { conn } ) }
Connect to a file database stored at the provided path.
Connect to a file database stored at the provided path .
path
P
path
P