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
↓ 3 callers
Function
collect_table_update_for_view
( plan_fragments: impl IntoIterator<Item = &'p PipelinedProject>, num_cols: usize, num_private_col
crates/core/src/subscription/mod.rs:138
↓ 3 callers
Method
commit_procedure_tx
Commit an anonymous procedure tx and broadcast resulting updates.
crates/core/src/host/instance_env.rs:782
↓ 3 callers
Function
commit_tx_or_panic
crates/bindings-cpp/include/spacetimedb/internal/tx_execution.h:60
↓ 3 callers
Method
commits
(self)
crates/commitlog/src/segment.rs:439
↓ 3 callers
Method
commits
Obtain an iterator which traverses the log from the start, yielding [`StoredCommit`]s. The returned iterator is not aware of segment rotation. That i
crates/commitlog/src/lib.rs:338
↓ 3 callers
Method
compact
(&mut self)
crates/core/src/database_logger.rs:139
↓ 3 callers
Function
connect
(ctx: &ReducerContext)
demo/Blackholio/server-rust/src/lib.rs:151
↓ 3 callers
Function
connect_then
( db_name: &str, test_counter: &std::sync::Arc<TestCounter>, callback: impl FnOnce(&DbConnection)
sdks/rust/tests/procedure-concurrency-client/src/test_handlers.rs:72
↓ 3 callers
Function
connect_then
( db_name: &str, test_counter: &std::sync::Arc<TestCounter>, callback: impl FnOnce(&DbConnection)
sdks/rust/tests/view-pk-client/src/test_handlers.rs:38
↓ 3 callers
Function
connect_with_compression
Connect with brotli, gzip, and no compression. One of them will insert and all of them will subscribe. All should get back `bytes`.
sdks/rust/tests/test-client/src/test_handlers.rs:2516
↓ 3 callers
Function
connect_with_then
( db_name: &str, test_counter: &std::sync::Arc<TestCounter>, on_connect_suffix: &str, with_bui
sdks/rust/tests/procedure-concurrency-client/src/test_handlers.rs:52
↓ 3 callers
Function
connect_with_then
( db_name: &str, test_counter: &std::sync::Arc<TestCounter>, on_connect_suffix: &str, with_bui
sdks/rust/tests/view-client/src/test_handlers.rs:52
↓ 3 callers
Method
connection_id
(&self)
modules/sdk-test-procedure-cpp/client/src/module_bindings/mod.rs:315
↓ 3 callers
Function
connection_id_from_u8
Create an [ConnectionId] from a [u8]
crates/core/src/subscription/module_subscription_actor.rs:2156
↓ 3 callers
Function
console_log
Custom wrapper for simplified logging
crates/bindings-cpp/include/spacetimedb/abi/FFI.h:130
↓ 3 callers
Function
const_provider
[`BlobProvider`] that serves only the given `data`.
crates/snapshot/src/remote.rs:861
↓ 3 callers
Method
consume_each_list
(self, each: &mut impl FnMut(Bytes))
crates/core/src/client/consume_each_list.rs:11
↓ 3 callers
Function
convert
Helper to create an `Identifier` from a `RawIdentifier` with the appropriate error type. TODO: memoize this. pub(crate) fn identifier(name: RawIdentif
crates/schema/src/def/validate/v9.rs:1477
↓ 3 callers
Function
countLines
(dir)
tools/llm-sequential-upgrade/generate-report.mjs:130
↓ 3 callers
Function
create_and_fill_index_in
(dir: &Path, cap: u64, fill_till: u64)
crates/commitlog/src/index/indexfile.rs:388
↓ 3 callers
Function
create_default_spacetime_config_if_missing
( project_path: &Path, native_aot: bool, default_server: &str, )
crates/cli/src/subcommands/init.rs:642
↓ 3 callers
Method
create_index
Adds the index into the [ST_INDEXES_NAME] table NOTE: It loads the data from the table into it before returning
crates/engine/src/relational_db.rs:1342
↓ 3 callers
Function
create_local_spacetime_config_if_missing
( project_dir: &Path, database_name: &str, )
crates/cli/src/subcommands/dev.rs:1620
↓ 3 callers
Method
create_row_level_security
( &self, tx: &mut MutTx, row_level_security_schema: RowLevelSecuritySchema, )
crates/engine/src/relational_db.rs:1351
↓ 3 callers
Function
create_template_config_from_template_str
( project_name: String, project_path: PathBuf, template_str: &str, templates: &[TemplateDefini
crates/cli/src/subcommands/init.rs:357
↓ 3 callers
Function
cross_join_all
(ctx: &ReducerContext, expected: u32)
modules/benchmarks/src/circles.rs:119
↓ 3 callers
Function
cross_join_circle_food
(ctx: &ReducerContext, expected: u32)
modules/benchmarks/src/circles.rs:137
↓ 3 callers
Method
current_version_dir
(&self)
crates/paths/src/cli.rs:40
↓ 3 callers
Function
datastore_delete_by_index_scan_range_bsatn
Deletes all rows found in the index identified by `index_id`, according to the `prefix`, `rstart`, and `rend`. This syscall will delete all the rows
crates/bindings-sys/src/lib.rs:1379
↓ 3 callers
Method
datastore_delete_by_index_scan_range_bsatn
( IndexId index_id, ReadOnlySpan<byte> prefix, uint prefix_len, ColId prefix_e
crates/bindings-csharp/Runtime/Internal/FFI.cs:270
↓ 3 callers
Function
datastore_index_scan_point_bsatn
See `sys::datastore_index_scan_point_bsatn`. Panics when the aforementioned errors.
crates/bindings/src/table.rs:453
↓ 3 callers
Method
datastore_index_scan_point_bsatn_chunks
( &self, pool: &mut ChunkPool, index_id: IndexId, point: &[u8], )
crates/core/src/host/instance_env.rs:645
↓ 3 callers
Method
datastore_index_scan_range_bsatn
( IndexId index_id, ReadOnlySpan<byte> prefix, uint prefix_len, ColId prefix_e
crates/bindings-csharp/Runtime/Internal/FFI.cs:232
↓ 3 callers
Function
datastore_table_row_count
(table_id: TableId)
crates/bindings-sys/src/lib.rs:1118
↓ 3 callers
Method
datastore_table_row_count
(TableId table_id, out ulong out_)
crates/bindings-csharp/Runtime/Internal/FFI.cs:207
↓ 3 callers
Method
datastore_table_scan_bsatn
( TableId table_id, out RowIter out_ )
crates/bindings-csharp/Runtime/Internal/FFI.cs:210
↓ 3 callers
Method
datastore_table_scan_bsatn_chunks
( &self, pool: &mut ChunkPool, table_id: TableId, )
crates/core/src/host/instance_env.rs:622
↓ 3 callers
Method
decode_record
( &self, _version: u8, _tx_offset: u64, reader: &mut R, )
crates/commitlog/src/payload.rs:112
↓ 3 callers
Function
default_options
()
crates/commitlog/tests/streaming/mod.rs:183
↓ 3 callers
Function
default_publish_module_path
(current_dir: &std::path::Path)
crates/cli/src/subcommands/publish.rs:682
↓ 3 callers
Method
default_server
(&self)
crates/cli/src/config.rs:200
↓ 3 callers
Method
default_server_name
(&self)
crates/cli/src/config.rs:487
↓ 3 callers
Method
defineFunction
(name: string)
crates/bindings-typescript/src/server/schema.ts:88
↓ 3 callers
Function
define_struct_for_product
( module: &ModuleDef, out: &mut Indenter, name: &str, elements: &[(Identifier, AlgebraicTypeUs
crates/codegen/src/rust.rs:1064
↓ 3 callers
Function
deleteCanvasElements
(ctx: any, canvasId: bigint)
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:1885
↓ 3 callers
Method
delete_by_row_value
(&mut self, table_id: TableId, rel: &ProductValue)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:3331
↓ 3 callers
Method
delete_from_btree_u_32_then
( &self, rows: Vec<BTreeU32>, callback: impl FnOnce(&super::ReducerEventContext, Resu
sdks/rust/tests/test-client/src/module_bindings/delete_from_btree_u_32_reducer.rs:57
↓ 3 callers
Method
delete_index
Removes an index from the table. Returns whether an index existed with `index_id`.
crates/table/src/table.rs:1518
↓ 3 callers
Method
delete_product_value
(&mut self, table_id: TableId, row: &ProductValue)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:567
↓ 3 callers
Method
delete_unchecked
Deletes the row identified by `ptr` from the table. This method does update statistics. SAFETY: `self.is_row_present(row)` must hold.
crates/table/src/table.rs:1258
↓ 3 callers
Function
demangle_cpp_type_name
Helper function to demangle C++ type names - inline implementation for template usage
crates/bindings-cpp/include/spacetimedb/internal/module_type_registration.h:36
↓ 3 callers
Method
deref_str
Get a utf8 slice of wasm memory given a pointer and a length.
crates/core/src/host/wasmtime/mod.rs:328
↓ 3 callers
Function
deserialize
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:528
↓ 3 callers
Method
deserialize
(deserializer: D)
crates/sats/src/de/impls.rs:199
↓ 3 callers
Method
deserialize_array
Deserializes an array value. This is typically the same as [`deserialize_array_seed`](Deserializer::deserialize_array_seed) with an uninteresting `se
crates/sats/src/de.rs:171
↓ 3 callers
Method
deserialize_array_seed
( self, visitor: V, seed: T, )
crates/sats/src/de/serde.rs:115
↓ 3 callers
Method
deserialize_bytes
(self, visitor: V)
crates/sats/src/de/serde.rs:106
↓ 3 callers
Function
deserialize_json_path
(path: &Path)
crates/bench/src/bin/summarize.rs:356
↓ 3 callers
Function
deserialize_logs
(raw: &'a [u8])
crates/core/src/database_logger.rs:714
↓ 3 callers
Method
deserialize_seed
(self, seed: T)
crates/sats/src/de.rs:919
↓ 3 callers
Method
deserialize_seed
(mut self, seed: T)
crates/sats/src/de/serde.rs:341
↓ 3 callers
Function
deserialize_view_rows
( row_type: AlgebraicTypeRef, bytes: Bytes, typespace: &Typespace, )
crates/core/src/host/wasm_common/module_host_actor.rs:138
↓ 3 callers
Function
desired_output_tokens
Desired output tokens (planning only). Env override: `LLM_DESIRED_OUTPUT_TOKENS` (usize).
tools/xtask-llm-benchmark/src/llm/segmentation.rs:173
↓ 3 callers
Function
detect_client_command
Simple auto-detection for projects without `spacetime.json`. Returns the client command and optionally the detected package manager.
crates/cli/src/spacetime_config.rs:1132
↓ 3 callers
Function
detect_module_language
(path_to_module: &Path)
crates/cli/src/util.rs:250
↓ 3 callers
Function
determine_cpp_type_for_result
Helper function to determine C++ type from type name string for result types
crates/codegen/src/unrealcpp.rs:5526
↓ 3 callers
Function
docs_dir
()
tools/xtask-llm-benchmark/src/context/constants.rs:25
↓ 3 callers
Method
drop_index
(&mut self, index_id: IndexId)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1501
↓ 3 callers
Method
drop_st_column
Drops all the columns of `table_id` in `st_column`.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:942
↓ 3 callers
Method
drop_st_column_accessor
Drops rows in `st_column_accessor` for this canonical `table_name`.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:947
↓ 3 callers
Method
drop_table
(&mut self, table_id: TableId)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:993
↓ 3 callers
Method
dropped_count
Returns the number of pages dropped by the pool because the pool was at capacity.
crates/data-structures/src/object_pool.rs:106
↓ 3 callers
Method
element_types
(&self)
crates/schema/src/type_for_generate.rs:232
↓ 3 callers
Function
emitTyping
(roomId: number)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/realtime.ts:40
↓ 3 callers
Function
empty_module
()
crates/engine/src/update.rs:611
↓ 3 callers
Method
empty_transaction
(&mut self)
crates/bench/src/sqlite.rs:107
↓ 3 callers
Function
enable
Probabilistic fault-injection helpers for simulation code. Reference: <https://transactional.blog/simulation/buggify>. Buggify is tied to a specific
crates/runtime/src/sim/buggify.rs:9
↓ 3 callers
Method
enable_buggify
(&self)
crates/runtime/src/sim/executor/mod.rs:198
↓ 3 callers
Function
enable_logging
()
crates/snapshot/tests/remote.rs:287
↓ 3 callers
Function
encodeClientMessagesV3
( writer: BinaryWriter, messages: readonly Uint8Array<ArrayBuffer>[], messageCount: number = messages.le
crates/bindings-typescript/src/sdk/websocket_v3_frames.ts:87
↓ 3 callers
Function
encodeMyUserProcedural
(value: MyUserViewRow)
crates/bindings-typescript/tests/db_connection.test.ts:145
↓ 3 callers
Method
end
(self)
crates/core/src/host/wasm_common/instrumentation.rs:43
↓ 3 callers
Method
end_bound
(&self)
crates/commitlog/src/stream/common.rs:120
↓ 3 callers
Method
enqueue_main_operation
( &self, panic_kind: &'static str, label: &str, arg: A, js: impl FnOnc
crates/core/src/host/module_host.rs:1895
↓ 3 callers
Method
ensure_compatible
(&self, max_log_format_version: u8, checksum_algorithm: u8)
crates/commitlog/src/segment.rs:73
↓ 3 callers
Function
ensure_old_ty_upgradable_to_new
( within: bool, old_container_name: &impl Fn() -> Identifier, old_column_name: &impl Fn() -> Ident
crates/schema/src/auto_migrate.rs:894
↓ 3 callers
Function
ensure_parent
(p: &Path)
tools/xtask-llm-benchmark/src/bench/templates.rs:243
↓ 3 callers
Function
eq_bsatn
Equates `lhs` to a BSATN-encoded `AlgebraicValue` of the same type.
crates/sats/src/bsatn/eq.rs:10
↓ 3 callers
Function
error_is_normal_disconnect
(e: &crate::Error)
sdks/rust/src/db_connection.rs:1606
↓ 3 callers
Method
eval_bool_with_params
Evaluate this boolean expression over `row` with runtime parameters.
crates/physical-plan/src/plan.rs:1502
↓ 3 callers
Function
eval_static_probe
(expr: &PhysicalExpr, params: &impl ParamResolver)
crates/execution/src/pipelined.rs:548
↓ 3 callers
Method
eval_with_params
Evaluate this expression over `row` with runtime parameters.
crates/physical-plan/src/plan.rs:1515
↓ 3 callers
Function
event_table_module
(product_type: ProductType)
crates/engine/src/update.rs:630
↓ 3 callers
Function
exec
(args: &ArgMatches, db_cores: JobCores)
crates/standalone/src/subcommands/start.rs:114
↓ 3 callers
Method
existing_offsets
(&self)
crates/commitlog/src/tests/partial.rs:303
↓ 3 callers
Method
expected_offset
(&self)
crates/commitlog/src/commitlog.rs:814
↓ 3 callers
Method
extract_jwt_payload_string
(&self)
crates/client-api/src/auth.rs:46
↓ 3 callers
Function
extract_schema
Extracts the schema from a given module. Spins up a dummy host and returns the `ModuleDef` that it extracts.
crates/core/src/host/host_controller.rs:1410
↓ 3 callers
Function
extract_typed_args
Extract all function parameters, except for `self` ones that aren't allowed.
crates/bindings-macro/src/reducer.rs:83
↓ 3 callers
Method
fetch_blob
(&self, hash: blake3::Hash)
crates/snapshot/src/remote.rs:381
← previous
next →
2,601–2,700 of 27,764, ranked by callers