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

Function test

crates/engine/src/relational_db.rs:2416–2424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2414
2415 #[test]
2416 fn test() -> ResultTest<()> {
2417 let stdb = TestDB::durable()?;
2418
2419 let mut tx = begin_mut_tx(&stdb);
2420 stdb.create_table(&mut tx, my_table(AlgebraicType::I32))?;
2421 stdb.commit_tx(tx)?;
2422
2423 Ok(())
2424 }
2425
2426 #[test]
2427 fn test_open_twice() -> ResultTest<()> {

Callers

nothing calls this directly

Calls 5

my_tableFunction · 0.85
commit_txMethod · 0.80
begin_mut_txFunction · 0.70
OkFunction · 0.50
create_tableMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…