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

Function execute_anti_join

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

Source from the content-addressed store, hash-verified

432
433 #[test]
434 fn execute_anti_join() {
435 let (csr, store, _dir) = make_social_graph();
436 let query = super::super::compiler::parse(
437 "MATCH (a)-[:KNOWS]->(b) WHERE NOT EXISTS { MATCH (a)-[:BLOCKED]->(b) } RETURN a, b",
438 )
439 .unwrap();
440 let rows = execute(&query, &csr, &store, None).unwrap().rows;
441 assert_eq!(rows.len(), 3);
442 }
443
444 #[test]
445 fn execute_with_limit() {

Callers

nothing calls this directly

Calls 3

make_social_graphFunction · 0.85
executeFunction · 0.70
parseFunction · 0.50

Tested by

no test coverage detected