akar-parser 0.1.15

Cypher parser for the Akar embedded graph database
Documentation
1
2
3
4
5
6
7
use akar_parser::parse;

fn main() {
    let sql = "MATCH (u:User {id: 1}), (p:Post {id: 10}) CREATE (u)-[:Likes]->(p)";
    let stmt = parse(sql).unwrap();
    println!("{:#?}", stmt);
}