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

Function say_hello

modules/module-test/src/lib.rs:283–288  ·  view source on GitHub ↗
(ctx: &ReducerContext)

Source from the content-addressed store, hash-verified

281
282#[spacetimedb::reducer]
283pub fn say_hello(ctx: &ReducerContext) {
284 for person in ctx.db.person().iter() {
285 log::info!("Hello, {}!", person.name);
286 }
287 log::info!("Hello, World!");
288}
289
290#[spacetimedb::reducer]
291pub fn list_over_age(ctx: &ReducerContext, age: u8) {

Callers 1

with_txFunction · 0.70

Calls 2

iterMethod · 0.65
personMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…