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

Function insert_three_i32s

crates/engine/src/relational_db.rs:2868–2873  ·  view source on GitHub ↗
(stdb: &RelationalDB, tx: &mut MutTx, table_id: TableId)

Source from the content-addressed store, hash-verified

2866 }
2867
2868 fn insert_three_i32s(stdb: &RelationalDB, tx: &mut MutTx, table_id: TableId) -> ResultTest<()> {
2869 for v in [-1, 0, 1] {
2870 insert(stdb, tx, table_id, &product![v])?;
2871 }
2872 Ok(())
2873 }
2874
2875 #[test]
2876 fn test_pre_commit() -> ResultTest<()> {

Callers 5

test_pre_commitFunction · 0.85
test_post_commitFunction · 0.85
test_rollbackFunction · 0.85

Calls 2

insertFunction · 0.70
OkFunction · 0.50

Tested by 5

test_pre_commitFunction · 0.68
test_post_commitFunction · 0.68
test_rollbackFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…