Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ parse_self_join
Function
parse_self_join
nodedb/src/engine/graph/pattern/compiler/mod.rs:311–314 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
309
310
#[test]
311
fn parse_self_join() {
312
let q = parse(
"MATCH (a)-[:KNOWS]->(b), (a)-[:KNOWS]->(c) RETURN a, b, c"
).unwrap();
313
assert_eq!(q.clauses[0].patterns.len(), 2);
314
}
315
316
#[test]
317
fn parse_left_arrow() {
Callers
nothing calls this directly
Calls
1
parse
Function · 0.70
Tested by
no test coverage detected