()
| 5499 | |
| 5500 | #[test] |
| 5501 | fn test_parser_pattern_comprehension() { |
| 5502 | let query = "MATCH (a:Account) |
| 5503 | RETURN a.account_number, |
| 5504 | [(a)-[t:Transaction]->(m) | t.amount] as transaction_amounts, |
| 5505 | [(a)-[t:Transaction]->(m) | m.category] as merchant_categories |
| 5506 | LIMIT 10"; |
| 5507 | let result = parse_query(query); |
| 5508 | assert!(result.is_ok(), "Pattern comprehension should parse"); |
| 5509 | } |
| 5510 | |
| 5511 | #[test] |
| 5512 | fn test_parser_with_clause_aggregation() { |
nothing calls this directly
no test coverage detected