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

Method visit_truncate

crates/commitlog/src/payload/txdata.rs:57–59  ·  view source on GitHub ↗

Called for each [`TableId`] encountered in the `truncates` section of a [`Mutations`]. The default implementation does nothing.

(&mut self, _table_id: TableId)

Source from the content-addressed store, hash-verified

55 ///
56 /// The default implementation does nothing.
57 fn visit_truncate(&mut self, _table_id: TableId) -> Result<(), Self::Error> {
58 Ok(())
59 }
60
61 /// Called for each [`Txdata`] record in a [`crate::Commit`].
62 ///

Callers 2

decodeMethod · 0.45
consumeMethod · 0.45

Implementers 5

name.rscrates/client-api-messages/src/name.rs
replay.rscrates/datastore/src/locking_tx_datast
test_tx_inputs_are_in_the_commitlogcrates/engine/src/relational_db.rs
txdata.rscrates/commitlog/src/payload/txdata.rs
serde.rscrates/sats/src/de/serde.rs

Calls 1

OkFunction · 0.50

Tested by

no test coverage detected