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

Function test_parser_with_where_clause

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

Source from the content-addressed store, hash-verified

5541
5542#[test]
5543fn test_parser_with_where_clause() {
5544 let query = "MATCH (a:Account)-[t:Transaction]->(m:Merchant)
5545 WITH a, m, count(t) as transaction_count
5546 WHERE transaction_count > 5
5547 RETURN a.account_number, transaction_count";
5548 let result = parse_query(query);
5549 assert!(result.is_ok(), "WITH + WHERE clause should parse");
5550}
5551
5552#[test]
5553fn test_parser_with_then_match() {

Callers

nothing calls this directly

Calls 1

parse_queryFunction · 0.85

Tested by

no test coverage detected