MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / execute_empty_result

Function execute_empty_result

nodedb/src/engine/graph/pattern/executor/mod.rs:454–460  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

452
453 #[test]
454 fn execute_empty_result() {
455 let (csr, store, _dir) = make_social_graph();
456 let query =
457 super::super::compiler::parse("MATCH (a)-[:NONEXISTENT]->(b) RETURN a, b").unwrap();
458 let rows = execute(&query, &csr, &store, None).unwrap().rows;
459 assert!(rows.is_empty());
460 }
461
462 #[test]
463 fn execute_with_node_labels() {

Callers

nothing calls this directly

Calls 3

make_social_graphFunction · 0.85
executeFunction · 0.70
parseFunction · 0.50

Tested by

no test coverage detected