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

Method updates

sdks/rust/src/client_cache.rs:188–193  ·  view source on GitHub ↗

Returns the updated rows in this diff. This will be empty if [`Self::derive_updates`] never ran.

(&self)

Source from the content-addressed store, hash-verified

186 /// Returns the updated rows in this diff.
187 /// This will be empty if [`Self::derive_updates`] never ran.
188 pub(super) fn updates(&self) -> impl '_ + Iterator<Item = (&'r Row, &'r Row)> {
189 self.update_deletes
190 .iter()
191 .copied()
192 .zip(self.update_inserts.iter().copied())
193 }
194}
195
196impl<Row> TableCache<Row> {

Callers 1

Calls 1

iterMethod · 0.65

Tested by

no test coverage detected