Minigraf: an embedded graph database with Datalog and bi-temporal queries
The Rust Programming Language Forum
Minigraf: an embedded graph database with Datalog and bi-temporal queries
Hi everyone, I’ve built Minigraf, a small, single-file embedded graph database written in Rust. Minigraf stores connected data as facts and queries it with Datalog. It also tracks both transaction time and valid time, so you can ask what the database recorded at a particular point, or what it believed was true at a point in the past. use minigraf::{Minigraf, OpenOptions}; let db = OpenOptions::new().path("data.graph").open()?; db.execute(r#"(transact [[:alice :friend :bob]])"#)?; let resul...
0 comments
No comments yet.