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

Method RegisterSchedule

crates/bindings-cpp/src/internal/v9_builder.cpp:283–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void V9Builder::RegisterSchedule(const std::string& table_name,
284 uint16_t scheduled_at_column,
285 const std::string& reducer_name) {
286 // Store the schedule to be applied when the table is registered
287 PendingSchedule schedule;
288 schedule.table_name = table_name;
289 schedule.scheduled_at_column = scheduled_at_column;
290 schedule.reducer_name = reducer_name;
291
292 pending_schedules_[table_name] = schedule;
293
294 // fprintf(stdout, "DEBUG: Registered schedule for table '%s', column %u, reducer '%s'\n",
295 // table_name.c_str(), scheduled_at_column, reducer_name.c_str());
296}
297
298void V9Builder::RegisterRowLevelSecurity(const std::string& sql_query) {
299 // Create an RLS definition and add it to the global module

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected