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

Method graph_stats_impl

nodedb-client/src/native/client/graph.rs:98–106  ·  view source on GitHub ↗
(
        &self,
        collection: Option<&str>,
        as_of: Option<i64>,
    )

Source from the content-addressed store, hash-verified

96 }
97
98 pub(super) async fn graph_stats_impl(
99 &self,
100 collection: Option<&str>,
101 as_of: Option<i64>,
102 ) -> NodeDbResult<Vec<GraphStats>> {
103 let sql = build_native_graph_stats_sql(collection, as_of);
104 let result = self.query(&sql).await?;
105 parse_native_graph_stats(&result.columns, &result.rows)
106 }
107
108 pub(super) async fn graph_pagerank_impl(
109 &self,

Callers 1

graph_statsMethod · 0.45

Calls 3

parse_native_graph_statsFunction · 0.85
queryMethod · 0.45

Tested by

no test coverage detected