Fix MATCH query execution and add comprehensive Cypher tests
🐛 CRITICAL BUG FIX:
- Fix compound query execution (MATCH ... RETURN ...) that was returning empty results
- Implement proper ExecutionContext.into_result() method to handle variable bindings
- MATCH queries now correctly return found nodes instead of empty results
🧪 NEW TESTING COVERAGE:
- Add tests/cypher_execution_tests.rs with comprehensive query execution tests
- Test basic CREATE and MATCH operations without REST API dependency
- Test multiple node creation and retrieval scenarios
- Test label-based matching and query parsing
- Test CLI integration for query execution
- Catch regression bugs that were missed by existing test suite
✅ VERIFICATION:
- All new tests pass: CREATE and MATCH operations work correctly
- CLI now properly shows created nodes: "MATCH (n) RETURN n" returns actual nodes
- Compound queries (MATCH + RETURN) execute correctly
- No regression in existing functionality
This critical fix resolves the major CLI regression where users couldn't
retrieve nodes they had created, making the CLI actually usable for
basic graph operations.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This is a binary file and will not be displayed.