pub fn connect_txdb(dir: &Path) -> Result<Connection>Expand description
Connect taxonomy.sqlite in this dir
let path = std::path::PathBuf::from("tests/nwr/");
let conn = nwr::connect_txdb(&path).unwrap();
assert_eq!(conn.path().unwrap().to_str().unwrap(), "tests/nwr/taxonomy.sqlite");