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

Method add

crates/cli/src/api.rs:107–115  ·  view source on GitHub ↗
(self, rhs: Self)

Source from the content-addressed store, hash-verified

105 type Output = Self;
106
107 fn add(self, rhs: Self) -> Self::Output {
108 Self {
109 total_duration_micros: self.total_duration_micros + rhs.total_duration_micros,
110 rows_inserted: self.rows_inserted + rhs.rows_inserted,
111 rows_deleted: self.rows_deleted + rhs.rows_deleted,
112 rows_updated: self.rows_updated + rhs.rows_updated,
113 total_rows: self.total_rows + rhs.total_rows,
114 }
115 }
116}
117
118impl From<&SqlStmtResult<'_>> for StmtStats {

Callers 2

newMethod · 0.45
build_gitignore_matcherFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected