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

Method inserts_for_table

crates/datastore/src/traits.rs:385–387  ·  view source on GitHub ↗

Returns the inserts for `table_id`.

(&self, table_id: TableId)

Source from the content-addressed store, hash-verified

383
384 /// Returns the inserts for `table_id`.
385 pub fn inserts_for_table(&self, table_id: TableId) -> Option<&[ProductValue]> {
386 self.entry_for(table_id).map(|entry| &*entry.inserts)
387 }
388
389 /// Returns the inserts for `table_id`.
390 pub fn deletes_for_table(&self, table_id: TableId) -> Option<&[ProductValue]> {

Callers 2

get_ith_insertMethod · 0.45
delta_scanMethod · 0.45

Calls 2

entry_forMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected