indradb-lib 5.0.0

A graph database library
Documentation
1
2
3
4
5
6
use crate::{Database, Datastore, Error};

pub fn should_sync<D: Datastore>(db: &Database<D>) -> Result<(), Error> {
    // just make sure that it runs fine
    db.sync()
}