marsdb 0.1.0

Embeddable property-graph database with an openCypher query subset: single binary, single file, optional in-memory mode.
Documentation

Embeddable property-graph database with an openCypher query subset: single binary, single file, optional in-memory mode.

let db = marsdb::Database::in_memory().unwrap();
db.execute("CREATE (a:Person {name: 'Alice'})-[:KNOWS]->(b:Person {name: 'Bob'})").unwrap();
let result = db.execute("MATCH (n:Person) RETURN n.name").unwrap();
assert_eq!(result.rows.len(), 2);