Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ functions
Functions
27,764 in github.com/clockworklabs/SpacetimeDB
⨍
Functions
27,764
◇
Types & classes
9,245
↓ 2 callers
Method
read_snapshot
Read a snapshot contained in self referring to `tx_offset`, verify its hashes, and parse it into an in-memory structure [`ReconstructedSnapshot`] whic
crates/snapshot/src/lib.rs:959
↓ 2 callers
Function
read_str
(table: &toml_edit::Table, key: &str)
crates/cli/src/config.rs:97
↓ 2 callers
Method
read_string
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/reader.h:103
↓ 2 callers
Method
read_string
crates/bindings-cpp/include/spacetimedb/internal/bsatn_adapters.h:83
↓ 2 callers
Method
read_string
crates/bindings-cpp/include/spacetimedb/bsatn/reader.h:103
↓ 2 callers
Method
read_u16_le
crates/bindings-cpp/include/spacetimedb/bsatn/reader.h:67
↓ 2 callers
Method
read_u64_le
crates/bindings-cpp/include/spacetimedb/internal/bsatn_adapters.h:54
↓ 2 callers
Method
read_u8
crates/bindings-cpp/include/spacetimedb/internal/bsatn_adapters.h:33
↓ 2 callers
Method
reborrow
(&mut self)
crates/sats/src/bsatn/ser.rs:21
↓ 2 callers
Method
rebuild_pointer_map
Rebuild the [`PointerMap`] by iterating over all the rows in `self` and inserting them. Called when restoring from a snapshot after installing the pa
crates/table/src/table.rs:2430
↓ 2 callers
Function
reconstruct_connection_id
Reconstruct the `conn_id_i` args to [`__call_reducer__`] and [`__call_procedure__`] into a [`ConnectionId`]. The all-zeros `ConnectionId` (`Connectio
crates/bindings/src/rt.rs:1076
↓ 2 callers
Function
reconstruct_sender_identity
Reconstruct the `sender_i` args to [`__call_reducer__`] and [`__call_procedure__`] into an [`Identity`].
crates/bindings/src/rt.rs:1067
↓ 2 callers
Method
record_index_scan_point_inner
( &mut self, view: &ViewCallInfo, table_id: TableId, index_id: IndexId,
crates/datastore/src/locking_tx_datastore/mut_tx.rs:366
↓ 2 callers
Function
record_query_metrics
Records subscription query metrics
crates/core/src/subscription/module_subscription_actor.rs:167
↓ 2 callers
Method
recv_many
Receive multiple messages from this channel. Messages are returned immediately if: - The [`ClientUpdate`] does not have a `tx_offset` (such as for e
crates/core/src/client/client_connection.rs:216
↓ 2 callers
Method
reducer_by_id
Look up a reducer by its id.
crates/schema/src/def.rs:368
↓ 2 callers
Function
reducer_function_name
(reducer: &ReducerDef)
crates/codegen/src/rust.rs:1116
↓ 2 callers
Function
reducer_module_name
(reducer_name: &ReducerName)
crates/codegen/src/rust.rs:1112
↓ 2 callers
Method
reducer_start
Returns the name of the most recent reducer to be run in this environment.
crates/core/src/host/v8/mod.rs:394
↓ 2 callers
Method
reducers_mut
Get mutable access to the reducers section, creating it if missing.
crates/lib/src/db/raw_def/v10.rs:720
↓ 2 callers
Function
refresh_views
Refresh all views made stale by a procedure `tx`. This runs each pending view call in the same mutable transaction and writes the refreshed rows into
crates/core/src/host/v8/syscall/common.rs:741
↓ 2 callers
Method
registerOnConnect
(cb: (conn: MockConnection) => void)
crates/bindings-typescript/tests/connection_manager_reconnect.test.ts:90
↓ 2 callers
Method
registerOnConnectError
( cb: (ctx: ErrorContextInterface, error: Error) => void )
crates/bindings-typescript/tests/connection_manager_reconnect.test.ts:100
↓ 2 callers
Method
registerOnDisconnect
( cb: (ctx: ErrorContextInterface, error?: Error) => void )
crates/bindings-typescript/tests/connection_manager_reconnect.test.ts:94
↓ 2 callers
Function
registerView
( ctx: SchemaInner, opts: ViewOpts, exportName: string, anon: Anonymous, params: Params, ret: Ret,
crates/bindings-typescript/src/server/views.ts:206
↓ 2 callers
Function
register_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
templates/chat-console-rs/src/module_bindings/user_table.rs:129
↓ 2 callers
Function
register_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
sdks/rust/tests/connect_disconnect_client/src/module_bindings/connected_table.rs:82
↓ 2 callers
Method
release
(key: string)
crates/bindings-typescript/src/sdk/connection_manager.ts:297
↓ 2 callers
Function
releases_url
()
crates/update/src/cli/install.rs:57
↓ 2 callers
Method
remaining
(&self)
crates/sats/src/buffer.rs:387
↓ 2 callers
Function
remove_all_project_references
Remove every <ProjectReference/> under any <ItemGroup>
crates/cli/src/subcommands/init.rs:1203
↓ 2 callers
Method
remove_constraint
Removes the given `index_id`
crates/schema/src/schema.rs:372
↓ 2 callers
Method
remove_index
Removes the given `index_id`
crates/schema/src/schema.rs:354
↓ 2 callers
Method
remove_legacy_subscriptions
(&mut self, client: &ClientId)
crates/core/src/subscription/module_subscription_manager.rs:798
↓ 2 callers
Method
remove_multi_subscription
( &self, sender: Arc<ClientConnectionSender>, auth: AuthCtx, request: ws_v1::U
crates/core/src/subscription/module_subscription_actor.rs:849
↓ 2 callers
Method
remove_query
Remove a query hash and its associated data from this container. Note, a query hash may be associated with multiple column ids.
crates/core/src/subscription/module_subscription_manager.rs:328
↓ 2 callers
Method
remove_sequence
Removes the given `sequence_id`
crates/schema/src/schema.rs:340
↓ 2 callers
Method
remove_single_subscription
Remove a subscription for a single query.
crates/core/src/subscription/module_subscription_actor.rs:774
↓ 2 callers
Method
remove_subscriber
(&self, client_id: ClientActorId)
crates/core/src/subscription/module_subscription_actor.rs:1705
↓ 2 callers
Method
rename_table
Rename a table. Sets the name of the table to `new_name` regardless of the previous value. This is a relatively cheap operation which only modifies t
crates/engine/src/relational_db.rs:1255
↓ 2 callers
Function
renderBar
(tps: number, maxTps: number, width = 40)
templates/keynote-2/src/demo.ts:269
↓ 2 callers
Function
replay_event_table_drop
Regression test for replay of a dropped event table. Dropping an event table deletes its `st_table`, `st_column` and `st_event_table` rows in a singl
crates/engine/src/update.rs:819
↓ 2 callers
Function
replay_event_table_schema_change
(snapshot: TakeSnapshot)
crates/engine/src/update.rs:743
↓ 2 callers
Method
report
Reports the metrics for `reducer` using `get_exec_counter` to retrieve the metrics counters.
crates/datastore/src/locking_tx_datastore/datastore.rs:763
↓ 2 callers
Method
report
Reports some VM metrics.
crates/core/src/host/wasm_common/module_host_actor.rs:1654
↓ 2 callers
Method
report_abi_duration
(&self, duration: Duration)
crates/core/src/host/wasm_common/module_host_actor.rs:1649
↓ 2 callers
Method
report_execution_budget_used
(&self, execution_budget_used: FunctionBudget)
crates/core/src/host/wasm_common/module_host_actor.rs:1641
↓ 2 callers
Method
report_total_duration
(&self, duration: Duration)
crates/core/src/host/wasm_common/module_host_actor.rs:1645
↓ 2 callers
Method
request_durability
(&self, reducer_context: Option<ReducerContext>, tx_data: &Arc<TxData>)
crates/engine/src/relational_db.rs:859
↓ 2 callers
Function
request_from_wire
(request: st_http::Request, body: Bytes)
crates/bindings/src/http.rs:612
↓ 2 callers
Function
requireJwtSecret
()
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/auth.ts:10
↓ 2 callers
Function
requireOwnedChat
(ctx: ModuleCtx, chatId: bigint)
templates/llm-chat-ts/spacetimedb/src/index.ts:105
↓ 2 callers
Function
reqwest_client_builder
()
crates/update/src/cli.rs:91
↓ 2 callers
Method
reset
(&mut self)
crates/commitlog/src/segment.rs:327
↓ 2 callers
Function
reset_to_internal
(repo: &impl Repo, segments: &[u64], offset: u64)
crates/commitlog/src/commitlog.rs:705
↓ 2 callers
Function
resolveRuntimeOptions
( options: Record<string, any>, defaults: SharedRuntimeConfig = getSharedRuntimeDefaults(), )
templates/keynote-2/src/opts.ts:190
↓ 2 callers
Method
resolveType
* Resolves the actual type of a TypeBuilder by following its references until it reaches a non-ref type. * @param typespace The typespace to resolv
crates/bindings-typescript/src/lib/schema.ts:290
↓ 2 callers
Function
resolve_database_with_optional_parts
( raw_parts: &[String], config_targets: Option<&[ConfigDbTarget]>, usage: &str, )
crates/cli/src/subcommands/db_arg_resolution.rs:209
↓ 2 callers
Function
resolve_language
(module_path: &Path, requested: Option<Language>)
crates/cli/src/subcommands/generate.rs:431
↓ 2 callers
Function
resolve_mode_paths
(mode: &str)
tools/xtask-llm-benchmark/src/context/paths.rs:16
↓ 2 callers
Method
resolve_param
(&self, param: ParamSlot, ty: &AlgebraicType)
crates/execution/src/lib.rs:38
↓ 2 callers
Function
resolve_sibling_binary
(bin_name: &str)
crates/cli/src/util.rs:367
↓ 2 callers
Method
resolve_type_with_case
Convert a raw identifier to a canonical type name. IMPORTANT: For all policies except `None`, type names are converted to PascalCase, unless explicit
crates/schema/src/def/validate/v9.rs:649
↓ 2 callers
Function
resolve_views_for_expr
The main utility responsible for view resolution. But what is view resolution and why do we need it? A view is a named query that can be referenced
crates/expr/src/rls.rs:206
↓ 2 callers
Function
response
(res: axum::response::Result<T>, database: &str)
crates/pg/src/pg_server.rs:121
↓ 2 callers
Function
response_into_wire
(response: http::Response<Body>)
crates/bindings/src/http.rs:663
↓ 2 callers
Method
resume
Resume scheduling for this node.
crates/runtime/src/sim/executor/mod.rs:103
↓ 2 callers
Method
return_enum_a_then
( &self, a: u32, __callback: impl FnOnce(&super::ProcedureEventContext, Result<Return
modules/sdk-test-procedure-cpp/client/src/module_bindings/return_enum_a_procedure.rs:37
↓ 2 callers
Method
return_enum_a_then
( &self, a: u32, __callback: impl FnOnce(&super::ProcedureEventContext, Result<Return
sdks/rust/tests/procedure-client/src/module_bindings/return_enum_a_procedure.rs:37
↓ 2 callers
Method
return_enum_b_then
( &self, b: String, __callback: impl FnOnce(&super::ProcedureEventContext, Result<Ret
modules/sdk-test-procedure-cpp/client/src/module_bindings/return_enum_b_procedure.rs:37
↓ 2 callers
Method
return_enum_b_then
( &self, b: String, __callback: impl FnOnce(&super::ProcedureEventContext, Result<Ret
sdks/rust/tests/procedure-client/src/module_bindings/return_enum_b_procedure.rs:37
↓ 2 callers
Method
return_name
What is the name of the return table? This is either the table name itself or its alias.
crates/expr/src/expr.rs:65
↓ 2 callers
Method
return_primitive_then
( &self, lhs: u32, rhs: u32, __callback: impl FnOnce(&super::ProcedureEventCo
modules/sdk-test-procedure-cpp/client/src/module_bindings/return_primitive_procedure.rs:37
↓ 2 callers
Method
return_primitive_then
( &self, lhs: u32, rhs: u32, __callback: impl FnOnce(&super::ProcedureEventCo
sdks/rust/tests/procedure-client/src/module_bindings/return_primitive_procedure.rs:37
↓ 2 callers
Method
return_struct_then
( &self, a: u32, b: String, __callback: impl FnOnce(&super::ProcedureEventCon
modules/sdk-test-procedure-cpp/client/src/module_bindings/return_struct_procedure.rs:39
↓ 2 callers
Method
return_struct_then
( &self, a: u32, b: String, __callback: impl FnOnce(&super::ProcedureEventCon
sdks/rust/tests/procedure-client/src/module_bindings/return_struct_procedure.rs:39
↓ 2 callers
Method
return_table_id
The [TableId] of the returned rows. Note this expression returns rows from a relvar. Hence it this method should never return [None].
crates/expr/src/expr.rs:85
↓ 2 callers
Function
right_semijoin_impl
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/join.h:324
↓ 2 callers
Function
right_semijoin_impl
crates/bindings-cpp/include/spacetimedb/query_builder/join.h:324
↓ 2 callers
Method
right_source
(&self)
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/right_source_table.rs:32
↓ 2 callers
Function
router
( ctx: &S, database_routes: DatabaseRoutes<S>, identity_routes: IdentityRoutes<S>, extra: axum
crates/client-api/src/routes/mod.rs:22
↓ 2 callers
Function
routes_overlap
(a: &RouteSpec, b: &RouteSpec)
crates/bindings/src/http.rs:422
↓ 2 callers
Function
row_desc
(schema: &ProductType, format: &Format)
crates/pg/src/encoder.rs:13
↓ 2 callers
Method
row_iter_bsatn_advance
( RowIter iter_handle, [MarshalUsing(CountElementName = nameof(buffer_len))] [Out] byte[] buff
crates/bindings-csharp/Runtime/Internal/FFI.cs:245
↓ 2 callers
Method
row_iter_bsatn_close
(RowIter iter_handle)
crates/bindings-csharp/Runtime/Internal/FFI.cs:252
↓ 2 callers
Method
row_level_security_for_table_id
(&self, table_id: TableId)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2021
↓ 2 callers
Method
row_schema_for_table
( &self, tx: &'tx MutTx, table_id: TableId, )
crates/engine/src/relational_db.rs:701
↓ 2 callers
Function
rpcErr
(err: unknown)
templates/keynote-2/src/rpc-servers/sqlite-rpc-server.ts:209
↓ 2 callers
Function
run
Inner run fn to allow the use of `?`, `should_panic` tests must return unit.
crates/durability/tests/io/fallocate.rs:81
↓ 2 callers
Method
run
(self)
crates/core/src/host/module_host.rs:1038
↓ 2 callers
Function
runTypecheck
(semijoinPredicateExpr: string)
crates/bindings-typescript/tests/query_error_message.test.ts:13
↓ 2 callers
Function
runWithTx
( makeCtx: (timestamp: Timestamp) => Ctx, body: (ctx: Ctx) => T )
crates/bindings-typescript/src/server/runtime.ts:308
↓ 2 callers
Method
run_background_task
(&self)
sdks/rust/tests/connect_disconnect_client/src/module_bindings/mod.rs:342
↓ 2 callers
Function
run_build
( module_path: PathBuf, lint_dir: Option<PathBuf>, build_debug: bool, features: Option<OsStrin
crates/cli/src/subcommands/build.rs:67
↓ 2 callers
Function
run_cli
( paths: Option<&SpacetimePaths>, _argv0: Option<&OsStr>, args: Vec<OsString>, )
crates/update/src/proxy.rs:10
↓ 2 callers
Function
run_cmd_inner
(args: &[&str], cwd: &Path, stdin_input: Option<&str>)
crates/smoketests/src/lib.rs:308
↓ 2 callers
Function
run_command
(cmd: &mut Command, label: &str)
tools/ci/src/keynote_bench.rs:210
↓ 2 callers
Function
run_command
Execute a command in a working directory and verify it succeeds. On Windows, commands are wrapped in `cmd /C` to support `.bat` and `.cmd` files (e.g
crates/cli/src/tasks/cpp.rs:13
↓ 2 callers
Function
run_describer
Runs the describer of modules in `run` and does some logging around it.
crates/core/src/host/module_common.rs:90
↓ 2 callers
Method
run_dev_command
Get the command to run a dev script
crates/cli/src/spacetime_config.rs:39
← previous
next →
4,701–4,800 of 27,764, ranked by callers