MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / test_parser_connects_to_pattern

Function test_parser_connects_to_pattern

graphlite/src/ast/parser.rs:5494–5498  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5492
5493#[test]
5494fn test_parser_connects_to_pattern() {
5495 let query = "MATCH (start:TestNode)-[:CONNECTS_TO]->(end:TestNode) WHERE start.id = 1 RETURN count(end) as connected_count";
5496 let result = parse_query(query);
5497 assert!(result.is_ok(), "CONNECTS_TO pattern should parse");
5498}
5499
5500#[test]
5501fn test_parser_pattern_comprehension() {

Callers

nothing calls this directly

Calls 1

parse_queryFunction · 0.85

Tested by

no test coverage detected