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

Method get_tx

crates/core/src/host/instance_env.rs:267–269  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

265 }
266
267 fn get_tx(&self) -> Result<impl DerefMut<Target = MutTxId> + '_, GetTxError> {
268 self.tx.get()
269 }
270
271 /// True if `self` is holding an open transaction, or false if it is not.
272 pub fn in_tx(&self) -> bool {

Callers 15

in_txMethod · 0.80
get_jwt_payloadMethod · 0.80
insertMethod · 0.80
updateMethod · 0.80
clearMethod · 0.80
table_id_from_nameMethod · 0.80
index_id_from_nameMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected