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

Method graph_insert_edge

nodedb-client/src/native/client/dispatch.rs:92–102  ·  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

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

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected