MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 2 callersMethodconfirm_with_default
(self, prompt: String, default: bool)
crates/update/src/cli.rs:123
↓ 2 callersFunctionconfirmed
()
crates/cli/src/common_args.rs:33
↓ 2 callersFunctionconnectSocket
(token: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-120000/client/src/socket.ts:11
↓ 2 callersFunctionconnectSocket
(token: string)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/socket.ts:21
↓ 2 callersFunctionconnect_my_player_client
( db_name: &str, mut inserted_result: Option<ResultRecorder>, mut deleted_result: Option<ResultRec
sdks/rust/tests/view-client/src/test_handlers.rs:88
↓ 2 callersFunctionconnect_then
( db_name: &str, test_counter: &std::sync::Arc<TestCounter>, callback: impl FnOnce(&DbConnection)
sdks/rust/tests/procedural-view-pk-client/src/test_handlers.rs:35
↓ 2 callersFunctionconnect_then_named
( db_name: &str, test_counter: &std::sync::Arc<TestCounter>, connect_test_name: &'static str,
sdks/rust/tests/procedural-view-pk-client/src/test_handlers.rs:43
↓ 2 callersMethodconnected
(&self)
sdks/rust/tests/connect_disconnect_client/src/module_bindings/connected_table.rs:32
↓ 2 callersMethodconnected_clients
Read the set of clients currently connected to the database.
crates/engine/src/relational_db.rs:452
↓ 2 callersFunctionconnection_closed_error
(num: Option<u32>, num_received: u32)
crates/cli/src/subcommands/subscribe.rs:395
↓ 2 callersFunctionconnection_id
* @brief Create a ConnectionId type (64-bit connection identifier). * * @return AlgebraicType representing a ConnectionId * @todo Inte
crates/bindings-cpp/include/spacetimedb/bsatn/type_extensions.h:292
↓ 2 callersMethodconnection_id
Construct a copy of the `ConnectionId` type.
crates/sats/src/algebraic_type.rs:342
↓ 2 callersFunctionconsole_log
( level: LogLevel, target: Option<&str>, filename: Option<&str>, line_number: Option<u32>,
crates/bindings-sys/src/lib.rs:1428
↓ 2 callersMethodconsole_log_simple_message
Logs a simple `message` at `level`.
crates/core/src/host/instance_env.rs:300
↓ 2 callersFunctionconsole_timer_end
Module ABI that ends a timing span with `span_id`. # Signature ```ignore console_timer_end(span_id: u32) -> undefined throws { __code_error__: NO_SU
crates/core/src/host/v8/syscall/common.rs:557
↓ 2 callersMethodconsole_timer_end
(ConsoleTimerId stopwatch_id)
crates/bindings-csharp/Runtime/Internal/FFI.cs:358
↓ 2 callersFunctionconsole_timer_start
Module ABI that begins a timing span with `name`. When the returned `ConsoleTimerId` is passed to [`console_timer_end`], the duration between the cal
crates/core/src/host/v8/syscall/common.rs:518
↓ 2 callersMethodconsole_timer_start
([In] byte[] name, uint name_len)
crates/bindings-csharp/Runtime/Internal/FFI.cs:355
↓ 2 callersMethodconst_or_param_value
(&self, params: &impl ParamResolver)
crates/physical-plan/src/plan.rs:1437
↓ 2 callersMethodconsume_record
( &self, version: u8, tx_offset: u64, reader:
crates/commitlog/src/commitlog.rs:1157
↓ 2 callersMethodcontains
(&self, table_id: &TableId)
crates/expr/src/rls.rs:126
↓ 2 callersMethodcontains
Check if value is in range
crates/bindings-cpp/include/spacetimedb/range_queries.h:43
↓ 2 callersFunctionconvex
(url: string)
templates/keynote-2/src/connectors/convex.ts:3
↓ 2 callersMethodcool_down
Return the receiver to its cold state after a linger miss. The next call to [`Self::recv`] will block on the underlying channel instead of continuing
crates/core/src/util/adaptive_recv.rs:106
↓ 2 callersFunctioncopy_dir_all
(src: &Path, dst: &Path)
crates/cli/src/subcommands/init.rs:1011
↓ 2 callersFunctioncopy_embedded_files
(files: &HashMap<&str, &str>, target_dir: &Path)
crates/cli/src/subcommands/init.rs:1445
↓ 2 callersMethodcopy_filter_into
Copy as many rows from `self` for which `filter` returns `true` into `dst` as will fit, starting from `starting_from`. If less than the entirety of `
crates/table/src/page.rs:1662
↓ 2 callersFunctioncopy_fixture_dir
Make a temp dir with the contents of the given directory.
crates/engine/src/relational_db.rs:3892
↓ 2 callersFunctioncopy_value_with_decor
Update the value of a key in a `TOML` document, preserving the formatting and comments of the original value. ie: ```toml;no_run # Moving key = valu
crates/cli/src/config.rs:844
↓ 2 callersFunctioncount_query_rows
(rows: &ws_v2::QueryRows)
crates/core/src/client/messages.rs:351
↓ 2 callersFunctioncount_transaction_update
(update: &ws_v2::TransactionUpdate)
crates/core/src/client/messages.rs:355
↓ 2 callersMethodcreate
Create a new [`StreamWriter`] from the commitlog in `repo`. Opens the latest segment of the commitlog for writing. If the commitlog is empty, no segm
crates/commitlog/src/stream/writer.rs:86
↓ 2 callersMethodcreateDM
(targetUserId: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:161
↓ 2 callersFunctioncreateDeferred
()
templates/keynote-2/src/connectors/spacetimedb.ts:12
↓ 2 callersFunctioncreatePgRoom
(cfg: PgConfig, name: string, userId: number)
tools/llm-sequential-upgrade/perf-benchmark/src/clients/postgres-client.ts:43
↓ 2 callersFunctioncreateSpinner
(label: string)
templates/keynote-2/src/demo.ts:73
↓ 2 callersFunctioncreate_backing_table
(stdb: &TestDB, schema: TableSchema)
crates/engine/src/update.rs:681
↓ 2 callersFunctioncreate_default_spacetime_config_if_missing
(project_dir: &Path)
crates/cli/src/subcommands/dev.rs:1600
↓ 2 callersMethodcreate_dns_record
( &self, _owner_identity: &Identity, _domain: &DomainName, _da
crates/client-api/src/routes/database.rs:1887
↓ 2 callersMethodcreate_index
Create an index. Requires: - `index.index_name` must not be used for any other database entity. - `index.index_id == IndexId::SENTINEL` - `index.tabl
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1418
↓ 2 callersFunctioncreate_index_in
Create an index file in `dir`. Useful if `dir` is a temporary directory and should not be dropped.
crates/commitlog/src/index/indexfile.rs:403
↓ 2 callersMethodcreate_instance
(&self)
crates/core/src/host/module_host.rs:514
↓ 2 callersFunctioncreate_local_spacetime_config_if_missing
( project_path: &Path, database_name: &str, )
crates/cli/src/subcommands/init.rs:670
↓ 2 callersFunctioncreate_offset_index_writer
(repo: &R, offset: u64, opts: Options)
crates/commitlog/src/repo/mod.rs:216
↓ 2 callersFunctioncreate_outfile
(filename: impl AsRef<Path>)
crates/sqltest/src/main.rs:350
↓ 2 callersMethodcreate_parent
(file: &Path)
crates/fs-utils/src/dir_trie.rs:142
↓ 2 callersFunctioncreate_parent_dir
(file: &Path)
crates/fs-utils/src/lib.rs:8
↓ 2 callersFunctioncreate_segment
Create a new segment at offset `last_written_tx_range.end`. If the segment file already exists but has a size equal to or smaller than a segment head
crates/commitlog/src/stream/writer.rs:442
↓ 2 callersMethodcreate_segment
(&self, offset: u64, header: segment::Header)
crates/commitlog/src/repo/fs.rs:234
↓ 2 callersMethodcreate_sequence
Create a sequence. Requires: - `seq.sequence_id == SequenceId::SENTINEL` - `seq.table_id != TableId::SENTINEL` - `seq.sequence_name` must not be used
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1792
↓ 2 callersFunctioncreate_snapshot
(repo: Arc<SnapshotRepository>)
crates/snapshot/tests/remote.rs:228
↓ 2 callersMethodcreate_table_for_test_with_access
( &self, name: &str, schema: &[(&'static str, AlgebraicType)], indexes: &[ColI
crates/engine/src/relational_db.rs:1204
↓ 2 callersFunctioncreate_table_t
(db: &RelationalDB, indexed: bool)
crates/core/src/estimation.rs:174
↓ 2 callersFunctioncreds_store
Save/load credentials
modules/sdk-test-procedure-cpp/client/src/main.rs:56
↓ 2 callersFunctioncreds_store
()
templates/chat-console-rs/src/main.rs:60
↓ 2 callersFunctioncreds_store
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:1724
↓ 2 callersMethodcurrentPointerPosition
()
demo/Blackholio/client-ts/src/game/PlayerController.ts:107
↓ 2 callersMethodcurrent_field
(&self)
crates/table/src/static_layout.rs:302
↓ 2 callersMethodcurrent_field_mut
(&mut self)
crates/table/src/static_layout.rs:306
↓ 2 callersMethodcurrent_version
(&self)
crates/paths/src/cli.rs:48
↓ 2 callersMethoddatabase_logger
(&self)
crates/core/src/host/module_host.rs:3480
↓ 2 callersMethoddatabase_update
(&self)
crates/core/src/host/module_host.rs:181
↓ 2 callersFunctiondatastore_clear
(table_id: TableId)
crates/bindings-sys/src/lib.rs:1203
↓ 2 callersMethoddatastore_clear
(TableId table_id, out ulong out_)
crates/bindings-csharp/Runtime/Internal/FFI.cs:291
↓ 2 callersFunctiondatastore_delete_all_by_eq_bsatn
(table_id: TableId, relation: &[u8])
crates/bindings-sys/src/lib.rs:1188
↓ 2 callersMethoddatastore_delete_all_by_eq_bsatn
( caller: Caller<'_, Self>, table_id: u32, rel_ptr: WasmPtr<u8>, rel_len: u32,
crates/core/src/host/wasmtime/wasm_instance_env.rs:1216
↓ 2 callersMethoddatastore_delete_all_by_eq_bsatn
( TableId table_id, [In] byte[] relation, uint relation_len, out uint out_
crates/bindings-csharp/Runtime/Internal/FFI.cs:283
↓ 2 callersMethoddatastore_delete_by_index_scan_point_bsatn
Deletes all rows found in the index identified by `index_id`, according to `point = point_ptr[..point_len]` in WASM memory. This syscall will delete
crates/core/src/host/wasmtime/wasm_instance_env.rs:1069
↓ 2 callersMethoddatastore_delete_by_index_scan_range_bsatn
Deletes all rows found in the index identified by `index_id`, according to the: - `prefix = prefix_ptr[..prefix_len]`, - `rstart = rstart_ptr[..rstart
crates/core/src/host/wasmtime/wasm_instance_env.rs:1125
↓ 2 callersFunctiondatastore_index_scan_range_bsatn_inner
This is a helper function that is used by `v1::datastore_index_scan_range_bsatn` and `v2::datastore_index_scan_range_bsatn`. See those for additional
crates/core/src/host/v8/syscall/common.rs:320
↓ 2 callersFunctiondatastore_insert_bsatn
(table_id: TableId, row: &mut [u8])
crates/bindings-sys/src/lib.rs:1135
↓ 2 callersMethoddatastore_insert_bsatn
( TableId table_id, Span<byte> row, ref uint row_len )
crates/bindings-csharp/Runtime/Internal/FFI.cs:255
↓ 2 callersFunctiondatastore_table_scan_bsatn
Starts iteration on each row, as BSATN-encoded, of a table identified by `table_id`. Returns iterator handle is written to the `out` pointer. This han
crates/bindings-sys/src/lib.rs:1217
↓ 2 callersFunctiondatastore_update_bsatn
(table_id: TableId, index_id: IndexId, row: &mut [u8])
crates/bindings-sys/src/lib.rs:1161
↓ 2 callersMethoddate
(&self)
crates/paths/src/server.rs:173
↓ 2 callersFunctiondbg_aggregate_name
A helper for prettier Debug implementation, without extra indirection around Some("name").
crates/sats/src/lib.rs:305
↓ 2 callersFunctiondeadlineAfter
(timestampMicros: bigint, durationMicros: bigint)
templates/hangman-react-ts/spacetimedb/src/index.ts:125
↓ 2 callersMethoddebug_log
(&self, body: impl FnOnce(&mut File) -> std::result::Result<(), std::io::Error>)
sdks/rust/src/db_connection.rs:131
↓ 2 callersFunctiondecide_compression
(len: usize, compression: ws_v1::Compression)
crates/core/src/subscription/websocket_building.rs:200
↓ 2 callersFunctiondecode_record_fn
A free standing implementation of [`crate::Decoder::decode_record`], which drives the supplied [`Visitor`]. Simplifies decoder implementations operat
crates/commitlog/src/payload/txdata.rs:558
↓ 2 callersFunctiondecode_view_result_sink_code
(code: i32, result: Vec<u8>)
crates/core/src/host/wasmtime/wasmtime_module.rs:206
↓ 2 callersFunctiondecompress
( buffer: Uint8Array<ArrayBuffer>, type: CompressionFormat, chunkSize: number = 128 * 1024 // 128KB )
crates/bindings-typescript/src/sdk/decompress.ts:1
↓ 2 callersFunctiondef_heap_limit
Default heap limit, in bytes
crates/core/src/config.rs:354
↓ 2 callersFunctiondefault_init
(ctx: &TypespaceForGenerate, ty: &AlgebraicTypeUse)
crates/codegen/src/csharp.rs:1290
↓ 2 callersFunctiondefault_model_routes
()
tools/xtask-llm-benchmark/src/llm/model_routes.rs:77
↓ 2 callersMethoddefault_server_mut
(&mut self)
crates/cli/src/config.rs:209
↓ 2 callersFunctiondefault_v8_procedure_instance_pool_size
()
crates/core/src/config.rs:359
↓ 2 callersFunctiondefault_wasm_procedure_instance_pool_size
()
crates/core/src/config.rs:363
↓ 2 callersMethoddefer_insert_large_blob
Defers the insertion of a large blob to the blob store as well as writing the hash to the granule.
crates/table/src/bflatn_to.rs:430
↓ 2 callersFunctiondefine_body_for_sum
e.g. ```ts // The tagged union or sum type for the algebraic type `Option`. export const Option = __t.enum("Option", { none: __t.unit(), some: { value
crates/codegen/src/typescript.rs:856
↓ 2 callersFunctiondefine_enum_for_sum
Generate a file which defines an `enum` corresponding to the `sum_type`.
crates/codegen/src/rust.rs:961
↓ 2 callersFunctiondeleteCanvasData
(ctx: any, canvasId: bigint)
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:1997
↓ 2 callersFunctiondeleteEvent
(row: any, ctx: any = {})
crates/bindings-typescript/tests/table_cache.test.ts:37
↓ 2 callersMethoddelete_by_index_scan
Common index-based delete operation
crates/bindings-cpp/include/spacetimedb/table_with_constraints.h:282
↓ 2 callersMethoddelete_from_indices
Delete `row_ref` from all the indices of this table. SAFETY: `self.is_row_present(row)` must hold.
crates/table/src/table.rs:1288
↓ 2 callersMethoddelete_internal
Deletes the row identified by `ptr` from the table. Returns the number of blob bytes added. This method does not update statistics by itself. NOTE:
crates/table/src/table.rs:1238
↓ 2 callersMethoddelete_large_table_then
( &self, a: u8, b: u16, c: u32, d: u64, e: u128, f: __
sdks/rust/tests/test-client/src/module_bindings/delete_large_table_reducer.rs:175
↓ 2 callersMethoddelete_mut_tx
( &'a self, tx: &'a mut Self::MutTx, table_id: TableId, row_ptrs: impl IntoIte
crates/datastore/src/locking_tx_datastore/datastore.rs:601
↓ 2 callersMethoddelete_pk_u_32_insert_pk_u_32_two_then
( &self, n: u32, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/delete_pk_u_32_insert_pk_u_32_two_reducer.rs:60
↓ 2 callersMethoddelete_st_client
( &mut self, identity: Identity, connection_id: ConnectionId, database_identit
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2759
← previousnext →3,901–4,000 of 27,764, ranked by callers