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
↓ 1 callers
Method
drop_constraint_mut_tx
(&self, tx: &mut Self::MutTx, constraint_id: ConstraintId)
crates/datastore/src/locking_tx_datastore/datastore.rs:559
↓ 1 callers
Method
drop_row_level_security
(&mut self, sql: RawSql)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2035
↓ 1 callers
Method
drop_row_level_security
(&self, tx: &mut MutTx, sql: RawSql)
crates/engine/src/relational_db.rs:1359
↓ 1 callers
Method
drop_sequence
Removes the [Sequence] from database instance
crates/engine/src/relational_db.rs:1516
↓ 1 callers
Method
drop_st_index_accessor
Drops rows in `st_index_accessor` for this canonical `index_name`.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:968
↓ 1 callers
Method
drop_st_table
Drops the row in `st_table` for this `table_id`
crates/datastore/src/locking_tx_datastore/mut_tx.rs:957
↓ 1 callers
Method
drop_st_table_accessor
Drops rows in `st_table_accessor` for this canonical `table_name`.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:962
↓ 1 callers
Method
drop_st_view
Drops the row in `st_view` for this `view_id`
crates/datastore/src/locking_tx_datastore/mut_tx.rs:974
↓ 1 callers
Method
drop_st_view_column
Drops the rows in `st_view_column` for this `view_id`
crates/datastore/src/locking_tx_datastore/mut_tx.rs:984
↓ 1 callers
Method
drop_st_view_param
Drops the rows in `st_view_param` for this `view_id`
crates/datastore/src/locking_tx_datastore/mut_tx.rs:979
↓ 1 callers
Method
drop_st_view_sub
Drops the rows in `st_view_sub` for this `view_id`
crates/datastore/src/locking_tx_datastore/mut_tx.rs:989
↓ 1 callers
Method
drop_table_mut_tx
This function is relatively expensive because it needs to be transactional, however we don't expect to be dropping tables very often.
crates/datastore/src/locking_tx_datastore/datastore.rs:506
↓ 1 callers
Method
drop_view
(&self, tx: &mut MutTx, view_id: ViewId)
crates/engine/src/relational_db.rs:1164
↓ 1 callers
Method
drop_view_with_sender_from_committed_read_set
Removes a specific view call from the committed read set.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:448
↓ 1 callers
Function
dry_run_analysis_path
(run_id: &str, lang_name: &str, mode: &str, route: &ModelRoute)
tools/xtask-llm-benchmark/src/bench/runner.rs:426
↓ 1 callers
Function
dummy_client_id
()
crates/client-api/src/routes/subscribe.rs:1941
↓ 1 callers
Function
dump_visitor_program
This is for test code.
crates/table/src/row_type_visitor.rs:327
↓ 1 callers
Method
durability_size_on_disk
The number of bytes on disk occupied by the database's durability layer. An in-memory database will return `Ok(0)`.
crates/core/src/replica_context.rs:27
↓ 1 callers
Method
durable_offset
(&mut self)
crates/core/src/client/client_connection.rs:131
↓ 1 callers
Method
durable_tx_offset
Get the [`DurableOffset`] of this database, or `None` if this is an in-memory instance.
crates/engine/src/relational_db.rs:853
↓ 1 callers
Method
durable_tx_offset
(&self)
crates/durability/src/imp/mod.rs:50
↓ 1 callers
Method
durable_tx_offset
(&self)
crates/durability/src/imp/local.rs:349
↓ 1 callers
Method
duration_since
Duration since another timestamp
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/timestamp.h:95
↓ 1 callers
Function
editMessage
( messageId: number, content: string )
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:141
↓ 1 callers
Method
edit_server
Edit a saved server configuration. Implements `spacetime server edit`. Returns `Err` if no such server exists. On success, returns `(old_nickname, o
crates/cli/src/config.rs:367
↓ 1 callers
Function
edition_uses_workspace
(item: &Item)
crates/cli/src/subcommands/init.rs:1944
↓ 1 callers
Method
emit_multiple_test_events
Request that the remote module invoke the reducer `emit_multiple_test_events` to run as soon as possible. This method returns immediately, and errors
sdks/rust/tests/event-table-client/src/module_bindings/emit_multiple_test_events_reducer.rs:32
↓ 1 callers
Method
emit_multiple_test_events_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
sdks/rust/tests/event-table-client/src/module_bindings/emit_multiple_test_events_reducer.rs:52
↓ 1 callers
Method
emit_test_event_then
( &self, name: String, value: u64, callback: impl FnOnce(&super::ReducerEvent
sdks/rust/tests/event-table-client/src/module_bindings/emit_test_event_reducer.rs:60
↓ 1 callers
Method
empty
Create an empty body
crates/bindings-cpp/include/spacetimedb/http.h:129
↓ 1 callers
Method
empty_snapshot
(&self, tx_offset: TxOffset)
crates/snapshot/src/lib.rs:887
↓ 1 callers
Method
enable_determinism_check
(&self, log: DeterminismLog)
crates/runtime/src/sim/rng.rs:153
↓ 1 callers
Method
enable_determinism_log
(&self)
crates/runtime/src/sim/rng.rs:146
↓ 1 callers
Method
encode
(&self, buf: &mut impl BufWriter)
crates/commitlog/src/payload/txdata.rs:121
↓ 1 callers
Function
encodeServerMessagesV3
( writer: BinaryWriter, messages: readonly Uint8Array<ArrayBuffer>[] )
crates/bindings-typescript/src/sdk/websocket_v3_frames.ts:103
↓ 1 callers
Method
encode_and_forward_binary_messages
Encode and forward the currently accumulated binary server messages. This method is shared by v2 and v3. v2 calls it with exactly one `binary_server_
crates/client-api/src/routes/subscribe.rs:1653
↓ 1 callers
Method
encode_and_forward_message
Encode one websocket payload using a reusable serialization buffer, forward its frames, then retain the buffer for later reuse.
crates/client-api/src/routes/subscribe.rs:1682
↓ 1 callers
Method
encode_batch
Encode a drained batch according to the websocket version negotiated by the client.
crates/client-api/src/routes/subscribe.rs:1477
↓ 1 callers
Method
encode_record
(&self, writer: &mut W)
crates/commitlog/src/payload.rs:24
↓ 1 callers
Method
encode_v1_batch
Encode a batch for the original v1 websocket protocols. v1 text/binary messages are encoded one logical message at a time. This path also handles red
crates/client-api/src/routes/subscribe.rs:1492
↓ 1 callers
Method
encode_v2_batch
Encode a batch for protocol v2. v2 uses the binary server-message schema, but each logical server message must still be sent as its own websocket mes
crates/client-api/src/routes/subscribe.rs:1522
↓ 1 callers
Method
encode_v3_batch
Encode a batch for protocol v3. v3 uses the same binary server-message schema as v2, but coalesces all messages currently available from the encoder
crates/client-api/src/routes/subscribe.rs:1534
↓ 1 callers
Function
encoder
(mut rx: mpsc::UnboundedReceiver<OutgoingBytes>, tx: mpsc::UnboundedSender<Frame>)
crates/client-api/src/routes/subscribe.rs:2488
↓ 1 callers
Method
energy_monitor
Returns the energy monitor.
crates/core/src/host/module_common.rs:74
↓ 1 callers
Method
enqueue_async_job
Enqueue a job for this database executor without waiting for its result.
crates/core/src/util/jobs.rs:392
↓ 1 callers
Method
enqueue_call_view
( &self, cmd: ViewCommand, metric: ViewCommandMetric, on_panic: JsFatalHook,
crates/core/src/host/v8/mod.rs:545
↓ 1 callers
Method
enqueue_one_off_query
(&self, request: OneOffQueryRequest, on_panic: JsFatalHook)
crates/core/src/host/v8/mod.rs:562
↓ 1 callers
Method
enqueue_reducer_v2
( &self, reducer: &str, args: Bytes, request_id: RequestId, timer: Ins
crates/core/src/client/client_connection.rs:1067
↓ 1 callers
Method
enqueue_with_procedure_instance
( &self, label: &str, on_panic: Arc<dyn Fn() + Send + Sync>, timer_guard: Call
crates/core/src/host/module_host.rs:448
↓ 1 callers
Function
ensureAccountsRange
( dbUrl: string, count: number, initial: number, )
templates/keynote-2/src/init/init_supabase.ts:175
↓ 1 callers
Function
ensureMessageCount
( messages: readonly Uint8Array[], messageCount: number )
crates/bindings-typescript/src/sdk/websocket_v3_frames.ts:17
↓ 1 callers
Function
ensureSchema
(dbUrl: string)
templates/keynote-2/src/init/init_supabase.ts:44
↓ 1 callers
Function
ensureSchema
()
templates/keynote-2/src/rpc-servers/sqlite-rpc-server.ts:30
↓ 1 callers
Function
ensureSqliteDirExists
( file: string, mode: SqliteMode, )
templates/keynote-2/src/connectors/sqlite_common.ts:97
↓ 1 callers
Function
ensureSqliteDirExistsSync
( file: string, mode: SqliteMode, )
templates/keynote-2/src/connectors/sqlite_common.ts:106
↓ 1 callers
Function
ensureUrl
()
templates/keynote-2/src/connectors/rpc/cockroach_rpc.ts:9
↓ 1 callers
Function
ensureUrl
()
templates/keynote-2/src/connectors/rpc/postgres_rpc.ts:9
↓ 1 callers
Function
ensureUrl
()
templates/keynote-2/src/connectors/rpc/sqlite_rpc.ts:9
↓ 1 callers
Method
ensure_compatible_with
Can `self` be changed compatibly to `new`? See comment on [`IncompatibleTypeLayoutError`] about [`Box`]ing the error return.
crates/sats/src/layout.rs:195
↓ 1 callers
Function
ensure_disconnect_all_users
(steps: &mut Vec<AutoMigrateStep<'_>>)
crates/engine/src/update.rs:108
↓ 1 callers
Function
ensure_domain_segment
(input: &str)
crates/client-api-messages/src/name.rs:680
↓ 1 callers
Function
ensure_empty_directory
(_project_name: &str, project_path: &Path, is_server_only: bool)
crates/cli/src/subcommands/init.rs:745
↓ 1 callers
Function
ensure_goldens_built_once
Build goldens **once per (lang, selector-set)** in this process. If selectors is None/empty, that means "ALL tasks".
tools/xtask-llm-benchmark/src/bench/runner.rs:55
↓ 1 callers
Function
ensure_lang
(root: &'a mut Results, lang: &str)
tools/xtask-llm-benchmark/src/bench/normalize.rs:28
↓ 1 callers
Function
ensure_mode
(lang_v: &'a mut LangEntry, mode: &str, hash: Option<String>)
tools/xtask-llm-benchmark/src/bench/normalize.rs:39
↓ 1 callers
Function
ensure_model
(mode_v: &'a mut ModeEntry, name: &str)
tools/xtask-llm-benchmark/src/bench/normalize.rs:54
↓ 1 callers
Function
ensure_module_in_uproject
(uproject_dir: &Path, module_name: &str)
crates/codegen/src/unrealcpp.rs:6925
↓ 1 callers
Function
ensure_wasi_workload
Ensures the WASI workload required by C# module publishing is present. We do a best-effort install first, then assert by reading `dotnet workload lis
crates/smoketests/src/csharp.rs:65
↓ 1 callers
Function
enter_or_create_runtime
()
sdks/rust/src/db_connection.rs:1257
↓ 1 callers
Function
enter_simulation_thread
()
crates/runtime/src/sim_std.rs:86
↓ 1 callers
Method
entityOnDelete
(entity: Entity)
demo/Blackholio/client-ts/src/game/GameManager.ts:201
↓ 1 callers
Function
enumm
(elems: impl IntoIterator<Item = (&'static str, AlgebraicType)>)
crates/lib/tests/serde.rs:115
↓ 1 callers
Method
ephemeral_tables
(&self)
crates/datastore/src/locking_tx_datastore/replay.rs:698
↓ 1 callers
Method
eq
Compares `row_a` for equality against `row_b`. # Safety - `row` must store a valid, initialized instance of the BFLATN row type for which `self` was
crates/table/src/static_layout.rs:143
↓ 1 callers
Function
eq_bsatn_array
Equates every elem in `lhs` to those in the BSATN-encoded array value.
crates/sats/src/bsatn/eq.rs:46
↓ 1 callers
Function
eq_bsatn_prod
Equates every field `lhs` to those in the BSATN-encoded product value.
crates/sats/src/bsatn/eq.rs:41
↓ 1 callers
Function
eq_bsatn_str
(lhs: &Box<str>, rhs: Deserializer<'_, impl BufReader<'r>>)
crates/sats/src/bsatn/eq.rs:97
↓ 1 callers
Function
eq_bsatn_sum
Equates the tag and payload to that of the BSATN-encoded sum value.
crates/sats/src/bsatn/eq.rs:36
↓ 1 callers
Function
eq_byte_array
Equates the byte arrays `data_a/data_b = ctx.a/b.bytes[range_move(0..len, ctx.curr_offset)]` and advances the offset.
crates/table/src/eq.rs:223
↓ 1 callers
Function
eq_properties
(a: &T, b: &T, a_deref: &T::Target, b_deref: &T::Target)
crates/data-structures/src/slim_slice.rs:1594
↓ 1 callers
Function
eq_row_in_page_to_pv
Equates row `lhs` in `page` with its fixed part starting at `fixed_offset` to `rhs`. It is required for safety that `lhs` be typed at `ty`. That is, r
crates/table/src/eq_to_pv.rs:34
↓ 1 callers
Function
eq_str
Equates `ctx.lhs`, known to store a string at `ctx.current_offset`, to `rhs`, and advances `ctx.current_offset`. SAFETY: `lhs = ctx.lhs.bytes[range_m
crates/table/src/eq_to_pv.rs:191
↓ 1 callers
Function
eq_value
For `lhs = &ctx.lhs.bytes[range_move(0..ty.size(), *ctx.curr_offset)]` typed at `ty`, equates `lhs == rhs`, including any var-len objects, and advance
crates/table/src/eq_to_pv.rs:100
↓ 1 callers
Function
eq_value
For `value_a/b = &ctx.a/b.bytes[range_move(0..ty.size(), *ctx.curr_offset)]` typed at `ty`, equates `value_a == value_b`, including any var-len object
crates/table/src/eq.rs:126
↓ 1 callers
Function
eq_vlo
Equates the bytes of two var-len objects referred to at by the var-len references in `ctx.a/b.bytes` at `ctx.curr_offset` which is then advanced. The
crates/table/src/eq.rs:200
↓ 1 callers
Function
equality_term
(expr: &PhysicalExpr, label: Label)
crates/physical-plan/src/rules.rs:419
↓ 1 callers
Function
err_to_errno
Converts a [`NodesError`] to an error code, if possible.
crates/core/src/host/wasm_common.rs:357
↓ 1 callers
Function
err_to_errno_and_log
Converts a [`NodesError`] to an error code and logs, if possible.
crates/core/src/host/wasm_common.rs:388
↓ 1 callers
Method
error_target
(&self)
crates/core/src/host/module_host.rs:872
↓ 1 callers
Function
escapeAngleBracketsOutsideBackticks
* Escape `<PLACEHOLDER>` patterns that appear outside backtick code spans * so MDX doesn't treat them as JSX tags. * * Splits each line on backtick
docs/scripts/generate-cli-docs.mjs:49
↓ 1 callers
Function
escapeHtml
(text: string)
templates/browser-ts/src/main.ts:27
↓ 1 callers
Function
escapeIdent
(id: string)
crates/bindings-typescript/src/lib/filter.ts:123
↓ 1 callers
Function
eval_index_probe
(probe: &IndexProbe, params: &impl ParamResolver)
crates/execution/src/pipelined.rs:560
↓ 1 callers
Method
eval_updates_sequential_inner
( &self, tx: &DeltaTx, bsatn_rlb_pool: &BsatnRowListBuilderPool, tables: &[Dat
crates/core/src/subscription/module_subscription_manager.rs:1524
↓ 1 callers
Method
eval_updates_sequential_inner_v2
( &self, tx: &DeltaTx, bsatn_rlb_pool: &BsatnRowListBuilderPool, tables: &[Dat
crates/core/src/subscription/module_subscription_manager.rs:1397
↓ 1 callers
Function
evaluateData
( data: BooleanExprData<any>, row: Record<string, any> )
crates/bindings-typescript/src/lib/query.ts:901
↓ 1 callers
Function
evaluate_builtins
(scope: &mut PinScope<'_, '_>)
crates/core/src/host/v8/builtins/mod.rs:8
↓ 1 callers
Method
evaluate_subscribed_views
Re-evaluates all views which have entries in `st_view_subs`.
crates/core/src/host/wasm_common/module_host_actor.rs:752
↓ 1 callers
Method
event
(&self)
sdks/rust/tests/test-client/src/module_bindings/mod.rs:4542
↓ 1 callers
Method
exceed_row_limit
(&self)
crates/lib/src/identity.rs:94
← previous
next →
8,301–8,400 of 27,764, ranked by callers