MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

Methodbuild_variants
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/traits.h:276
Methodbuild_variants
crates/bindings-cpp/include/spacetimedb/bsatn/traits.h:599
Methodbuild_with_index_schema
( schema: &TableSchema, index: &TableIndex, index_schema: &IndexSchema, value:
crates/table/src/table.rs:2298
Methodbuilder
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
Methodbuilder
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
Methodbuilder
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
Methodbuilder
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
Methodbuilder
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
Methodbuilder
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
Methodbuilder
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
Methodbuilder
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
Methodbuilder
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
Methodbuilder
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
Methodbuilder
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
Methodbuilder
Creates a new builder for configuring a smoketest.
crates/smoketests/src/lib.rs:954
Methodbuilder
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
Methodbuilder
()
crates/testing/src/sdk.rs:84
Functionbuiltin_from_value
()
crates/sats/src/algebraic_type.rs:784
Functionbuiltin_reducer_wrapper
crates/bindings-cpp/include/spacetimedb/internal/Module_impl.h:284
Functionbump_counter
(ctx: &ReducerContext)
crates/smoketests/modules/views-auto-migrate-stable-updated/src/lib.rs:31
Functionbump_counter
(ctx: &ReducerContext)
crates/smoketests/modules/views-auto-migrate-stable/src/lib.rs:31
Methodbytes_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
Methodbytes_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
Methodbytes_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
Methodbytes_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
Methodbytes_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
Functioncalculate_bsatn_size
crates/bindings-cpp/include/spacetimedb/internal/field_registration.h:308
Functioncalculate_center_of_mass
demo/Blackholio/server-cpp/spacetimedb/src/lib.cpp:271
Functioncalculate_center_of_mass
(entities: &[Entity])
demo/Blackholio/server-rust/src/lib.rs:589
Functioncall
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/bun.ts:55
Functioncall
(fn: string, args: Record<string, any>)
templates/keynote-2/src/connectors/spacetimedb.ts:130
Functioncall
(method: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/convex.ts:60
Functioncall
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/planetscale_pg_rpc.ts:53
Functioncall
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/supabase_rpc.ts:66
Functioncall
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/cockroach_rpc.ts:78
Functioncall
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/postgres_rpc.ts:77
Functioncall
(name: string, args?: Record<string, unknown>)
templates/keynote-2/src/connectors/rpc/sqlite_rpc.ts:94
Methodcall
(name: string, args?: Record<string, any>)
templates/keynote-2/src/core/connectors.ts:22
Methodcall
Calls a reducer or procedure with the given arguments. Arguments are passed directly to the CLI as strings.
crates/smoketests/src/lib.rs:1510
Methodcall
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
Methodcall
(&self, reducer_name: &str, arg_json: String)
crates/cli/src/api.rs:75
MethodcallProcedureWithParams
* 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
MethodcallReducerWithParams
* 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
Functioncall_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
Functioncall_call_reducer
Calls the `__call_reducer__` function `fun`.
crates/core/src/host/v8/syscall/v1.rs:488
Functioncall_call_reducer_works
()
crates/core/src/host/v8/mod.rs:2086
Functioncall_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
Functioncall_call_view
Calls the `__call_view__` function `fun`.
crates/core/src/host/v8/syscall/v1.rs:520
Functioncall_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
Functioncall_call_view_anon
Calls the `__call_view_anon__` function `fun`.
crates/core/src/host/v8/syscall/v1.rs:580
Methodcall_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
Functioncall_describe_module_works
()
crates/core/src/host/v8/mod.rs:2158
Methodcall_http_handler
( &self, handler_id: HttpHandlerId, request: HttpRequest, request_body: Bytes,
crates/core/src/host/module_host.rs:2797
Methodcall_http_handler
( &mut self, op: module_host_actor::HttpHandlerOp, budget: FunctionBudget, )
crates/core/src/host/wasmtime/wasmtime_module.rs:816
Methodcall_http_handler
( &mut self, params: CallHttpHandlerParams, )
crates/core/src/host/wasm_common/module_host_actor.rs:561
Methodcall_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
Methodcall_identity_connected
( &mut self, caller_auth: ConnectionAuthCtx, caller_connection_id: ConnectionId, )
crates/core/src/host/wasm_common/module_host_actor.rs:505
Methodcall_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
Methodcall_identity_disconnected
( &mut self, caller_identity: Identity, caller_connection_id: ConnectionId, )
crates/core/src/host/wasm_common/module_host_actor.rs:518
Methodcall_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
Methodcall_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
Methodcall_procedure
( &mut self, op: module_host_actor::ProcedureOp, budget: FunctionBudget, )
crates/core/src/host/wasmtime/wasmtime_module.rs:742
Methodcall_procedure
(&mut self, params: CallProcedureParams)
crates/core/src/host/wasm_common/module_host_actor.rs:555
Methodcall_reducer
(&mut self, op: ReducerOp<'_>, budget: FunctionBudget)
crates/core/src/host/wasmtime/wasmtime_module.rs:621
Methodcall_reducer_params
( module: &ModuleInfo, caller_identity: Identity, caller_connection_id: Option<Connect
crates/core/src/host/module_host.rs:2200
Methodcall_reducer_v2
( &self, reducer: &str, args: Bytes, request_id: RequestId, timer: Ins
crates/core/src/client/client_connection.rs:1020
Methodcall_scheduled_procedure
( &self, params: ScheduledFunctionParams, )
crates/core/src/host/module_host.rs:2837
Methodcall_scheduled_procedure
( &mut self, params: ScheduledFunctionParams, )
crates/core/src/host/wasm_common/module_host_actor.rs:570
Methodcall_scheduled_reducer
( &self, params: ScheduledFunctionParams, )
crates/core/src/host/module_host.rs:2823
Methodcall_scheduled_reducer
( &mut self, params: ScheduledFunctionParams, )
crates/core/src/host/wasm_common/module_host_actor.rs:579
Methodcall_sql
( &self, db: Arc<RelationalDB>, sql_text: String, auth: AuthCtx, subs:
crates/core/src/host/module_host.rs:2498
Methodcall_sql
(&mut self, cmd: SqlCommand)
crates/core/src/host/wasm_common/module_host_actor.rs:603
Methodcall_view
(&mut self, op: ViewOp<'_>, budget: FunctionBudget)
crates/core/src/host/wasmtime/wasmtime_module.rs:667
Methodcall_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
Methodcall_view
(&self, cmd: ViewCommand)
crates/core/src/host/v8/mod.rs:541
Methodcall_view_anon
(&mut self, op: AnonymousViewOp<'_>, budget: FunctionBudget)
crates/core/src/host/v8/mod.rs:1871
Methodcall_view_at
( instance: &mut RefInstance<'_, I>, tx: MutTxId, view_name: &Identifier, view
crates/core/src/host/module_host.rs:3013
Methodcall_view_command_for_websocket
( &self, label: &'static str, cmd: ViewCommand, )
crates/core/src/host/module_host.rs:1932
Methodcall_view_inner
( instance: &mut RefInstance<'_, I>, tx: MutTxId, name: &Identifier, view_id:
crates/core/src/host/module_host.rs:3037
Methodcall_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
Functioncallback_wrapper
( data: *mut c_void, current_heap_limit: usize, initial_heap_limit: usize, )
crates/core/src/host/v8/mod.rs:1215
Methodcan_merge
(&self, _: &Self, _: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/hash_index.rs:117
Methodcan_merge
(&self, other: &Self, ignore: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/unique_direct_fixed_cap_index.rs:115
Methodcan_merge
(&self, _: &Self, _: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/btree_index.rs:111
Methodcan_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
Methodcan_merge
(&self, other: &Self, ignore: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/unique_btree_index.rs:90
Methodcan_merge
(&self, other: &Self, ignore: impl Fn(&RowPointer) -> bool)
crates/table/src/table_index/unique_hash_index.rs:68
Functioncan_sync_a_snapshot
()
crates/snapshot/tests/remote.rs:41
Functioncancel_cleanup
(ctx: &ReducerContext, scheduled_id: u64)
tools/xtask-llm-benchmark/src/benchmarks/basics/t_039_cancel_schedule/answers/rust.rs:24
Methodcapacity
crates/bindings-cpp/include/spacetimedb/internal/buffer_pool.h:154
Methodcapture
(&self)
crates/core/src/host/instance_env.rs:304
Methodcapture
(&self)
crates/core/src/host/wasmtime/wasm_instance_env.rs:2043
Methodcapture
(&self)
crates/core/src/host/v8/error.rs:399
Functioncardinality_estimation_index_lookup
()
crates/core/src/estimation.rs:191
Methodcause
(&self)
sdks/rust/src/error.rs:85
Functioncb_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
Functioncb_noop
An [`InterruptCallback`] that does nothing.
crates/core/src/host/v8/budget.rs:64
Methodcend
crates/bindings-cpp/include/spacetimedb/index_iterator.h:489
Functionchange_rls_disconnect_clients
()
crates/schema/src/auto_migrate.rs:2473
Methodchannel
(database_identity: &Identity)
crates/core/src/host/v8/mod.rs:1317
← previousnext →17,901–18,000 of 27,764, ranked by callers