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

Method call_reducer_binary

crates/testing/src/modules.rs:96–99  ·  view source on GitHub ↗
(&self, reducer: &str, args: &sats::ProductValue)

Source from the content-addressed store, hash-verified

94 }
95
96 pub async fn call_reducer_binary(&self, reducer: &str, args: &sats::ProductValue) -> anyhow::Result<()> {
97 let args = bsatn::to_vec(&args).unwrap();
98 self.call_reducer(reducer, FunctionArgs::Bsatn(args.into())).await
99 }
100
101 pub async fn call_reducer_binary_result(
102 &self,

Callers 11

custom_module_benchmarksFunction · 0.80
custom_db_benchmarksFunction · 0.80
mainFunction · 0.80
count_tableMethod · 0.80
empty_transactionMethod · 0.80
insert_bulkMethod · 0.80
update_bulkMethod · 0.80
iterateMethod · 0.80
filterMethod · 0.80
test_call_query_macroFunction · 0.80

Calls 3

to_vecFunction · 0.85
unwrapMethod · 0.45
call_reducerMethod · 0.45

Tested by 4

custom_module_benchmarksFunction · 0.64
custom_db_benchmarksFunction · 0.64
test_call_query_macroFunction · 0.64