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

Method graph_insert_edge

nodedb-client/src/remote/client/dispatch.rs:90–100  ·  view source on GitHub ↗
(
        &self,
        collection: &str,
        from: &NodeId,
        to: &NodeId,
        edge_type: &str,
        properties: Option<Document>,
    )

Source from the content-addressed store, hash-verified

88 }
89
90 async fn graph_insert_edge(
91 &self,
92 collection: &str,
93 from: &NodeId,
94 to: &NodeId,
95 edge_type: &str,
96 properties: Option<Document>,
97 ) -> NodeDbResult<EdgeId> {
98 self.graph_insert_edge_impl(collection, from, to, edge_type, properties)
99 .await
100 }
101
102 async fn graph_delete_edge(&self, collection: &str, edge_id: &EdgeId) -> NodeDbResult<()> {
103 self.graph_delete_edge_impl(collection, edge_id).await

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected