MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / sum

Method sum

crates/cli/src/api.rs:99–101  ·  view source on GitHub ↗
(iter: I)

Source from the content-addressed store, hash-verified

97
98impl Sum<StmtStats> for StmtStats {
99 fn sum<I: Iterator<Item = StmtStats>>(iter: I) -> Self {
100 iter.fold(StmtStats::default(), Add::add)
101 }
102}
103
104impl Add for StmtStats {

Callers 3

num_bytesMethod · 0.45
num_rowsMethod · 0.45
count_targetsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected