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

Function neighbors

nodedb-test-support/src/tx_batch_helpers.rs:192–199  ·  view source on GitHub ↗
(_collection: &str, src: &str)

Source from the content-addressed store, hash-verified

190}
191
192pub fn neighbors(_collection: &str, src: &str) -> PhysicalPlan {
193 PhysicalPlan::Graph(GraphOp::Neighbors {
194 node_id: src.into(),
195 edge_label: Some("REL".into()),
196 direction: nodedb::engine::graph::edge_store::Direction::Out,
197 rls_filters: Vec::new(),
198 })
199}
200
201pub fn kv_put(key: &[u8], value: &[u8]) -> PhysicalPlan {
202 PhysicalPlan::Kv(KvOp::Put {

Callers 1

assert_edge_absentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected