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
Method
build_variants
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/traits.h:276
Method
build_variants
crates/bindings-cpp/include/spacetimedb/bsatn/traits.h:599
Method
build_with_index_schema
( schema: &TableSchema, index: &TableIndex, index_schema: &IndexSchema, value:
crates/table/src/table.rs:2298
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
modules/sdk-test-procedure-cpp/client/src/module_bindings/mod.rs:327
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
templates/basic-cpp/src/module_bindings/mod.rs:252
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/mod.rs:327
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
sdks/rust/tests/event-table-client/src/module_bindings/mod.rs:270
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
sdks/rust/tests/test-client/src/module_bindings/mod.rs:4380
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
sdks/rust/tests/case-conversion-client/src/module_bindings/mod.rs:338
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/mod.rs:328
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
sdks/rust/tests/view-pk-client/src/module_bindings/mod.rs:394
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
sdks/rust/tests/connect_disconnect_client/src/module_bindings/mod.rs:277
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
sdks/rust/tests/view-client/src/module_bindings/mod.rs:370
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
sdks/rust/tests/procedure-client/src/module_bindings/mod.rs:337
Method
builder
Creates a new builder for configuring a smoketest.
crates/smoketests/src/lib.rs:954
Method
builder
Build a `TypespaceForGenerate`. We're required to declare known definitions up front. This is required for distinguishing between a use of the unit t
crates/schema/src/type_for_generate.rs:107
Method
builder
()
crates/testing/src/sdk.rs:84
Function
builtin_from_value
()
crates/sats/src/algebraic_type.rs:784
Function
builtin_reducer_wrapper
crates/bindings-cpp/include/spacetimedb/internal/Module_impl.h:284
Function
bump_counter
(ctx: &ReducerContext)
crates/smoketests/modules/views-auto-migrate-stable-updated/src/lib.rs:31
Function
bump_counter
(ctx: &ReducerContext)
crates/smoketests/modules/views-auto-migrate-stable/src/lib.rs:31
Method
bytes_sink_write
Writes up to `buffer_len` bytes from `buffer = buffer_ptr[..buffer_len]`, to the `sink`, registered in the host environment. The `buffer_len = buffer
crates/core/src/host/wasmtime/wasm_instance_env.rs:1446
Method
bytes_source_read
Reads bytes from `source`, registered in the host environment, and stores them in the memory pointed to by `buffer = buffer_ptr[..buffer_len]`. The `
crates/core/src/host/wasmtime/wasm_instance_env.rs:1338
Method
bytes_source_remaining_length
Read the remaining length of a [`BytesSource`] and write it to `out`. Note that the host automatically frees byte sources which are exhausted. Such s
crates/core/src/host/wasmtime/wasm_instance_env.rs:1401
Method
bytes_to_granules
Returns the number of granules needed to store an object of `len_in_bytes` in size. Also returns whether the object needs to go into the blob store.
crates/table/src/var_len.rs:269
Method
bytes_used_by_rows
Returns the number of bytes used by rows resident in this table. This includes data bytes, padding bytes and some overhead bytes, as described in the
crates/table/src/table.rs:1685
Function
calculate_bsatn_size
crates/bindings-cpp/include/spacetimedb/internal/field_registration.h:308
Function
calculate_center_of_mass
demo/Blackholio/server-cpp/spacetimedb/src/lib.cpp:271
Function
calculate_center_of_mass
(entities: &[Entity])
demo/Blackholio/server-rust/src/lib.rs:589
Function
call
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/bun.ts:55
Function
call
(fn: string, args: Record<string, any>)
templates/keynote-2/src/connectors/spacetimedb.ts:130
Function
call
(method: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/convex.ts:60
Function
call
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/planetscale_pg_rpc.ts:53
Function
call
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/supabase_rpc.ts:66
Function
call
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/cockroach_rpc.ts:78
Function
call
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/postgres_rpc.ts:77
Function
call
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/sqlite_rpc.ts:94
Method
call
(name: string, args?: Record<string, any>)
templates/keynote-2/src/core/connectors.ts:22
Method
call
Calls a reducer or procedure with the given arguments. Arguments are passed directly to the CLI as strings.
crates/smoketests/src/lib.rs:1510
Method
call
Run a function for this module which has access to the module instance. The function is run on the module's worker thread for both WASM and V8.
crates/core/src/host/module_host.rs:1804
Method
call
(&self, reducer_name: &str, arg_json: String)
crates/cli/src/api.rs:75
Method
callProcedureWithParams
* Call a reducer on your SpacetimeDB module with typed arguments. * @param reducerSchema The schema of the reducer to call * @param callReducerF
crates/bindings-typescript/src/sdk/db_connection_impl.ts:1297
Method
callReducerWithParams
* Call a reducer on your SpacetimeDB module with typed arguments. * @param reducerSchema The schema of the reducer to call * @param callReducerF
crates/bindings-typescript/src/sdk/db_connection_impl.ts:1215
Function
call_call_reducer
Calls the registered `__call_reducer__` function hook. This handles any (future) ABI version differences.
crates/core/src/host/v8/syscall/mod.rs:78
Function
call_call_reducer
Calls the `__call_reducer__` function `fun`.
crates/core/src/host/v8/syscall/v1.rs:488
Function
call_call_reducer_works
()
crates/core/src/host/v8/mod.rs:2086
Function
call_call_view
Calls the registered `__call_view__` function hook. This handles any (future) ABI version differences.
crates/core/src/host/v8/syscall/mod.rs:93
Function
call_call_view
Calls the `__call_view__` function `fun`.
crates/core/src/host/v8/syscall/v1.rs:520
Function
call_call_view_anon
Calls the registered `__call_view_anon__` function hook. This handles any (future) ABI version differences.
crates/core/src/host/v8/syscall/mod.rs:107
Function
call_call_view_anon
Calls the `__call_view_anon__` function `fun`.
crates/core/src/host/v8/syscall/v1.rs:580
Method
call_client_connected_maybe_reject
Call the database at `module_rx`'s `client_connection` reducer, if any, and return `Err` if it signals rejecting this client's connection. Call this
crates/core/src/client/client_connection.rs:826
Function
call_describe_module_works
()
crates/core/src/host/v8/mod.rs:2158
Method
call_http_handler
( &self, handler_id: HttpHandlerId, request: HttpRequest, request_body: Bytes,
crates/core/src/host/module_host.rs:2797
Method
call_http_handler
( &mut self, op: module_host_actor::HttpHandlerOp, budget: FunctionBudget, )
crates/core/src/host/wasmtime/wasmtime_module.rs:816
Method
call_http_handler
( &mut self, params: CallHttpHandlerParams, )
crates/core/src/host/wasm_common/module_host_actor.rs:561
Method
call_identity_connected
Invoke the module's `client_connected` reducer, if it has one, and insert a new row into `st_client` for `(caller_identity, caller_connection_id)`. T
crates/core/src/host/module_host.rs:2032
Method
call_identity_connected
( &mut self, caller_auth: ConnectionAuthCtx, caller_connection_id: ConnectionId, )
crates/core/src/host/wasm_common/module_host_actor.rs:505
Method
call_identity_disconnected
Invoke the module's `client_disconnected` reducer, if it has one, and delete the client's row from `st_client`, if any. The host inspects `st_client`
crates/core/src/host/module_host.rs:2175
Method
call_identity_disconnected
( &mut self, caller_identity: Identity, caller_connection_id: ConnectionId, )
crates/core/src/host/wasm_common/module_host_actor.rs:518
Method
call_identity_disconnected_inner
Invokes the `client_disconnected` reducer, if present, then deletes the client’s rows from `st_client` and `st_connection_credentials`. If the reducer
crates/core/src/host/module_host.rs:2051
Method
call_pooled
Run a function for this module using pooled instances. For both WASM and V8/JS, this uses the pooled procedure instances instead of the shared main i
crates/core/src/host/module_host.rs:1848
Method
call_procedure
( &mut self, op: module_host_actor::ProcedureOp, budget: FunctionBudget, )
crates/core/src/host/wasmtime/wasmtime_module.rs:742
Method
call_procedure
(&mut self, params: CallProcedureParams)
crates/core/src/host/wasm_common/module_host_actor.rs:555
Method
call_reducer
(&mut self, op: ReducerOp<'_>, budget: FunctionBudget)
crates/core/src/host/wasmtime/wasmtime_module.rs:621
Method
call_reducer_params
( module: &ModuleInfo, caller_identity: Identity, caller_connection_id: Option<Connect
crates/core/src/host/module_host.rs:2200
Method
call_reducer_v2
( &self, reducer: &str, args: Bytes, request_id: RequestId, timer: Ins
crates/core/src/client/client_connection.rs:1020
Method
call_scheduled_procedure
( &self, params: ScheduledFunctionParams, )
crates/core/src/host/module_host.rs:2837
Method
call_scheduled_procedure
( &mut self, params: ScheduledFunctionParams, )
crates/core/src/host/wasm_common/module_host_actor.rs:570
Method
call_scheduled_reducer
( &self, params: ScheduledFunctionParams, )
crates/core/src/host/module_host.rs:2823
Method
call_scheduled_reducer
( &mut self, params: ScheduledFunctionParams, )
crates/core/src/host/wasm_common/module_host_actor.rs:579
Method
call_sql
( &self, db: Arc<RelationalDB>, sql_text: String, auth: AuthCtx, subs:
crates/core/src/host/module_host.rs:2498
Method
call_sql
(&mut self, cmd: SqlCommand)
crates/core/src/host/wasm_common/module_host_actor.rs:603
Method
call_view
(&mut self, op: ViewOp<'_>, budget: FunctionBudget)
crates/core/src/host/wasmtime/wasmtime_module.rs:667
Method
call_view
Execute a view and return its payload. This helper is used by [`Self::refresh_views`] while a procedure transaction is being committed. It temporaril
crates/core/src/host/wasmtime/wasm_instance_env.rs:1824
Method
call_view
(&self, cmd: ViewCommand)
crates/core/src/host/v8/mod.rs:541
Method
call_view_anon
(&mut self, op: AnonymousViewOp<'_>, budget: FunctionBudget)
crates/core/src/host/v8/mod.rs:1871
Method
call_view_at
( instance: &mut RefInstance<'_, I>, tx: MutTxId, view_name: &Identifier, view
crates/core/src/host/module_host.rs:3013
Method
call_view_command_for_websocket
( &self, label: &'static str, cmd: ViewCommand, )
crates/core/src/host/module_host.rs:1932
Method
call_view_inner
( instance: &mut RefInstance<'_, I>, tx: MutTxId, name: &Identifier, view_id:
crates/core/src/host/module_host.rs:3037
Method
call_views_with_tx_at
Refreshes every view made stale by `tx`. This is the shared host-side path for finishing a transaction after writes have invalidated one or more mate
crates/core/src/host/module_host.rs:2915
Function
callback_wrapper
( data: *mut c_void, current_heap_limit: usize, initial_heap_limit: usize, )
crates/core/src/host/v8/mod.rs:1215
Method
can_merge
(&self, _: &Self, _: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/hash_index.rs:117
Method
can_merge
(&self, other: &Self, ignore: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/unique_direct_fixed_cap_index.rs:115
Method
can_merge
(&self, _: &Self, _: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/btree_index.rs:111
Method
can_merge
Returns whether `other` can be merged into `self` with an error containing the element in `self` that caused the violation. The closure `ignore` indi
crates/table/src/table_index/unique_direct_index.rs:270
Method
can_merge
(&self, other: &Self, ignore: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/unique_btree_index.rs:90
Method
can_merge
(&self, other: &Self, ignore: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/unique_hash_index.rs:68
Function
can_sync_a_snapshot
()
crates/snapshot/tests/remote.rs:41
Function
cancel_cleanup
(ctx: &ReducerContext, scheduled_id: u64)
tools/xtask-llm-benchmark/src/benchmarks/basics/t_039_cancel_schedule/answers/rust.rs:24
Method
capacity
crates/bindings-cpp/include/spacetimedb/internal/buffer_pool.h:154
Method
capture
(&self)
crates/core/src/host/instance_env.rs:304
Method
capture
(&self)
crates/core/src/host/wasmtime/wasm_instance_env.rs:2043
Method
capture
(&self)
crates/core/src/host/v8/error.rs:399
Function
cardinality_estimation_index_lookup
()
crates/core/src/estimation.rs:191
Method
cause
(&self)
sdks/rust/src/error.rs:85
Function
cb_log_long_running
An [`InterruptCallback`] used by `call_reducer`, and called by a thread separate to V8 execution every [`EPOCH_TICKS_PER_SECOND`] ticks (~every 1 seco
crates/core/src/host/v8/budget.rs:50
Function
cb_noop
An [`InterruptCallback`] that does nothing.
crates/core/src/host/v8/budget.rs:64
Method
cend
crates/bindings-cpp/include/spacetimedb/index_iterator.h:489
Function
change_rls_disconnect_clients
()
crates/schema/src/auto_migrate.rs:2473
Method
channel
(database_identity: &Identity)
crates/core/src/host/v8/mod.rs:1317
← previous
next →
17,901–18,000 of 27,764, ranked by callers