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

Function parse_undirected

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

Source from the content-addressed store, hash-verified

324
325 #[test]
326 fn parse_undirected() {
327 let q = parse("MATCH (a)-[:RELATED]-(b) RETURN a").unwrap();
328 assert_eq!(
329 q.clauses[0].patterns[0].triples[0].edge.direction,
330 EdgeDirection::Both
331 );
332 }
333
334 #[test]
335 fn parse_limit() {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected