MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / parse_left_arrow

Function parse_left_arrow

nodedb/src/engine/graph/pattern/compiler/mod.rs:317–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315
316 #[test]
317 fn parse_left_arrow() {
318 let q = parse("MATCH (a)<-[:FOLLOWS]-(b) RETURN a").unwrap();
319 assert_eq!(
320 q.clauses[0].patterns[0].triples[0].edge.direction,
321 EdgeDirection::Left
322 );
323 }
324
325 #[test]
326 fn parse_undirected() {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected