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

Function begin_tx

crates/engine/src/relational_db.rs:2171–2173  ·  view source on GitHub ↗
(db: &RelationalDB)

Source from the content-addressed store, hash-verified

2169 }
2170
2171 pub fn begin_tx(db: &RelationalDB) -> TxId {
2172 db.begin_tx(Workload::ForTests)
2173 }
2174
2175 pub fn begin_mut_tx(db: &RelationalDB) -> MutTxId {
2176 db.begin_mut_tx(IsolationLevel::Serializable, Workload::ForTests)

Callers 8

project_viewsFunction · 0.70
project_anonymous_viewsFunction · 0.70
test_row_countFunction · 0.70
estimate_forFunction · 0.50
scanned_forFunction · 0.50
test_select_catalogFunction · 0.50
test_subscribe_metricsFunction · 0.50

Calls 1

begin_txMethod · 0.45

Tested by 4

test_row_countFunction · 0.56
test_select_catalogFunction · 0.40
test_subscribe_metricsFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…