ankidb

ankidb gives you an opinionated API to Anki's database.

```rust use ankidb::{Database, query::{self, AnkiExt}};

let db = Database::open(&"/path/to/collection.anki2")?; let (mut stmt, bind) = db.prepare(query::revlog().countstar())?; let res: i64 = stmt.queryrow(&*bind.as_params(), |row| row.get(0))?; assert!(res > 100); ```