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

Function delete

nodedb/src/engine/graph/edge_store/stats/update.rs:358–367  ·  view source on GitHub ↗
(store: &EdgeStore, src: &str, label: &str, dst: &str, sys: i64)

Source from the content-addressed store, hash-verified

356 }
357
358 fn delete(store: &EdgeStore, src: &str, label: &str, dst: &str, sys: i64) {
359 store
360 .soft_delete_edge(
361 crate::engine::graph::edge_store::temporal::keys::EdgeRef::new(
362 T1, COLL, src, label, dst,
363 ),
364 sys,
365 )
366 .unwrap();
367 }
368
369 fn stats(store: &EdgeStore) -> CollectionStats {
370 store.collection_stats(T1, COLL, None).unwrap()

Calls 1

soft_delete_edgeMethod · 0.80

Tested by 2