MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 1 callersMethodupdate
(&self, new_row: Tbl::Row)
crates/bindings/src/table.rs:392
↓ 1 callersFunctionupdateEvent
(oldRow: any, row: any, ctx: any = {})
crates/bindings-typescript/tests/table_cache.test.ts:28
↓ 1 callersMethodupdatePlayer
(player: Player)
demo/Blackholio/client-ts/src/game/PlayerController.ts:44
↓ 1 callersFunctionupdateProvider
(provider: string)
templates/llm-chat-ts/src/App.tsx:241
↓ 1 callersFunctionupdateSize
()
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/client/src/App.tsx:963
↓ 1 callersFunctionupdateTemplateJsons
()
tools/templates/update-template-jsons.ts:195
↓ 1 callersFunctionupdateTimer
()
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-120000/client/src/App.tsx:618
↓ 1 callersFunctionupdateUnreadCountsForRoom
( roomId: string, excludeUserId: string )
tools/llm-oneshot/apps/chat-app/typescript/grok-code/postgres/chat-app-20260128-112222/server/src/socket/index.ts:742
↓ 1 callersMethodupdateUsername
()
demo/Blackholio/client-ts/src/game/CircleController.ts:39
↓ 1 callersFunctionupdate_all_csproj_files
(version)
sdks/csharp/tools~/upgrade-version.py:38
↓ 1 callersMethodupdate_allocation
Update the persisted allocation cursor for the sequence.
crates/datastore/src/locking_tx_datastore/sequence.rs:86
↓ 1 callersMethodupdate_by_value
Internal helper used by typed field accessors for atomic updates
crates/bindings-cpp/include/spacetimedb/database.h:161
↓ 1 callersFunctionupdate_csproj_client_to_nuget
(dir: &Path)
crates/cli/src/subcommands/init.rs:1157
↓ 1 callersFunctionupdate_csproj_file
(path, version)
sdks/csharp/tools~/upgrade-version.py:7
↓ 1 callersMethodupdate_data_size_metrics
Update data size metrics.
crates/engine/src/relational_db.rs:682
↓ 1 callersMethodupdate_database
(&self, database: Database)
crates/standalone/src/control_db.rs:391
↓ 1 callersMethodupdate_from_general
(&mut self, sym: &str, ty: &T)
crates/core/src/host/wasm_common.rs:222
↓ 1 callersMethodupdate_gauges
Recompute gauges to update metrics.
crates/core/src/subscription/module_subscription_actor.rs:441
↓ 1 callersMethodupdate_index
Add OR replace the [IndexSchema]
crates/schema/src/schema.rs:345
↓ 1 callersFunctionupdate_module
Update a module. If the `db` is not initialized yet (i.e. its program hash is `None`), return an error. Otherwise, if `db.program_hash` matches the
crates/core/src/host/host_controller.rs:845
↓ 1 callersMethodupdate_module
( &mut self, runtimes: Arc<HostRuntimes>, program: Program, policy: MigrationP
crates/core/src/host/host_controller.rs:1193
↓ 1 callersMethodupdate_module_host
( &self, database: Database, host_type: HostType, replica_id: u64, pro
crates/core/src/host/host_controller.rs:391
↓ 1 callersFunctionupdate_package_json
(version)
sdks/csharp/tools~/upgrade-version.py:44
↓ 1 callersFunctionupdate_package_json_dependency
Updates a `dependencies` entry in a `package.json` to point to a local path.
crates/smoketests/tests/smoketests/templates.rs:154
↓ 1 callersMethodupdate_page_non_full
Update [`Self::non_full_pages`] to change the number of var-len granules available in the page at `self[page_index]`, first deleting any old entry and
crates/table/src/pages.rs:335
↓ 1 callersMethodupdate_pk_bool_then
( &self, b: bool, data: i32, callback: impl FnOnce(&super::ReducerEventContex
sdks/rust/tests/test-client/src/module_bindings/update_pk_bool_reducer.rs:60
↓ 1 callersMethodupdate_pk_connection_id_then
( &self, a: __sdk::ConnectionId, data: i32, callback: impl FnOnce(&super::Red
sdks/rust/tests/test-client/src/module_bindings/update_pk_connection_id_reducer.rs:60
↓ 1 callersMethodupdate_pk_i_128_then
( &self, n: i128, data: i32, callback: impl FnOnce(&super::ReducerEventContex
sdks/rust/tests/test-client/src/module_bindings/update_pk_i_128_reducer.rs:60
↓ 1 callersMethodupdate_pk_i_16_then
( &self, n: i16, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_pk_i_16_reducer.rs:60
↓ 1 callersMethodupdate_pk_i_256_then
( &self, n: __sats::i256, data: i32, callback: impl FnOnce(&super::ReducerEve
sdks/rust/tests/test-client/src/module_bindings/update_pk_i_256_reducer.rs:60
↓ 1 callersMethodupdate_pk_i_32_then
( &self, n: i32, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_pk_i_32_reducer.rs:60
↓ 1 callersMethodupdate_pk_i_64_then
( &self, n: i64, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_pk_i_64_reducer.rs:60
↓ 1 callersMethodupdate_pk_i_8_then
( &self, n: i8, data: i32, callback: impl FnOnce(&super::ReducerEventContext,
sdks/rust/tests/test-client/src/module_bindings/update_pk_i_8_reducer.rs:60
↓ 1 callersMethodupdate_pk_identity_then
( &self, i: __sdk::Identity, data: i32, callback: impl FnOnce(&super::Reducer
sdks/rust/tests/test-client/src/module_bindings/update_pk_identity_reducer.rs:60
↓ 1 callersMethodupdate_pk_string_then
( &self, s: String, data: i32, callback: impl FnOnce(&super::ReducerEventCont
sdks/rust/tests/test-client/src/module_bindings/update_pk_string_reducer.rs:60
↓ 1 callersMethodupdate_pk_u_128_then
( &self, n: u128, data: i32, callback: impl FnOnce(&super::ReducerEventContex
sdks/rust/tests/test-client/src/module_bindings/update_pk_u_128_reducer.rs:60
↓ 1 callersMethodupdate_pk_u_16_then
( &self, n: u16, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_pk_u_16_reducer.rs:60
↓ 1 callersMethodupdate_pk_u_256_then
( &self, n: __sats::u256, data: i32, callback: impl FnOnce(&super::ReducerEve
sdks/rust/tests/test-client/src/module_bindings/update_pk_u_256_reducer.rs:60
↓ 1 callersMethodupdate_pk_u_32_two_then
( &self, n: u32, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_pk_u_32_two_reducer.rs:60
↓ 1 callersMethodupdate_pk_u_64_then
( &self, n: u64, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_pk_u_64_reducer.rs:60
↓ 1 callersMethodupdate_pk_uuid_then
( &self, u: __sdk::Uuid, data: i32, callback: impl FnOnce(&super::ReducerEven
sdks/rust/tests/test-client/src/module_bindings/update_pk_uuid_reducer.rs:60
↓ 1 callersFunctionupdate_record
( outfile: &mut File, runner: &mut Runner<D, M>, record: Record<D::ColumnType>, format: bool,
crates/sqltest/src/main.rs:484
↓ 1 callersMethodupdate_st_sequence_row
( &mut self, sequence_id: SequenceId, updater: impl FnOnce(&mut StSequenceRow) -> R,
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1071
↓ 1 callersFunctionupdate_test_file
Different from [`sqllogictest::update_test_file`], we re-implement it here to print some progress information.
crates/sqltest/src/main.rs:332
↓ 1 callersFunctionupdate_test_files
`format` - If true, will not run sqls, only formats the file.
crates/sqltest/src/main.rs:315
↓ 1 callersMethodupdate_unique_bool_then
( &self, b: bool, data: i32, callback: impl FnOnce(&super::ReducerEventContex
sdks/rust/tests/test-client/src/module_bindings/update_unique_bool_reducer.rs:60
↓ 1 callersMethodupdate_unique_connection_id_then
( &self, a: __sdk::ConnectionId, data: i32, callback: impl FnOnce(&super::Red
sdks/rust/tests/test-client/src/module_bindings/update_unique_connection_id_reducer.rs:60
↓ 1 callersMethodupdate_unique_i_128_then
( &self, n: i128, data: i32, callback: impl FnOnce(&super::ReducerEventContex
sdks/rust/tests/test-client/src/module_bindings/update_unique_i_128_reducer.rs:60
↓ 1 callersMethodupdate_unique_i_16_then
( &self, n: i16, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_unique_i_16_reducer.rs:60
↓ 1 callersMethodupdate_unique_i_256_then
( &self, n: __sats::i256, data: i32, callback: impl FnOnce(&super::ReducerEve
sdks/rust/tests/test-client/src/module_bindings/update_unique_i_256_reducer.rs:60
↓ 1 callersMethodupdate_unique_i_32_then
( &self, n: i32, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_unique_i_32_reducer.rs:60
↓ 1 callersMethodupdate_unique_i_64_then
( &self, n: i64, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_unique_i_64_reducer.rs:60
↓ 1 callersMethodupdate_unique_i_8_then
( &self, n: i8, data: i32, callback: impl FnOnce(&super::ReducerEventContext,
sdks/rust/tests/test-client/src/module_bindings/update_unique_i_8_reducer.rs:60
↓ 1 callersMethodupdate_unique_identity_then
( &self, i: __sdk::Identity, data: i32, callback: impl FnOnce(&super::Reducer
sdks/rust/tests/test-client/src/module_bindings/update_unique_identity_reducer.rs:60
↓ 1 callersMethodupdate_unique_string_then
( &self, s: String, data: i32, callback: impl FnOnce(&super::ReducerEventCont
sdks/rust/tests/test-client/src/module_bindings/update_unique_string_reducer.rs:60
↓ 1 callersMethodupdate_unique_u_128_then
( &self, n: u128, data: i32, callback: impl FnOnce(&super::ReducerEventContex
sdks/rust/tests/test-client/src/module_bindings/update_unique_u_128_reducer.rs:60
↓ 1 callersMethodupdate_unique_u_16_then
( &self, n: u16, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_unique_u_16_reducer.rs:60
↓ 1 callersMethodupdate_unique_u_256_then
( &self, n: __sats::u256, data: i32, callback: impl FnOnce(&super::ReducerEve
sdks/rust/tests/test-client/src/module_bindings/update_unique_u_256_reducer.rs:60
↓ 1 callersMethodupdate_unique_u_32_then
( &self, n: u32, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_unique_u_32_reducer.rs:60
↓ 1 callersMethodupdate_unique_u_64_then
( &self, n: u64, data: i32, callback: impl FnOnce(&super::ReducerEventContext
sdks/rust/tests/test-client/src/module_bindings/update_unique_u_64_reducer.rs:60
↓ 1 callersMethodupdate_unique_u_8_then
( &self, n: u8, data: i32, callback: impl FnOnce(&super::ReducerEventContext,
sdks/rust/tests/test-client/src/module_bindings/update_unique_u_8_reducer.rs:60
↓ 1 callersMethodupdate_unique_uuid_then
( &self, u: __sdk::Uuid, data: i32, callback: impl FnOnce(&super::ReducerEven
sdks/rust/tests/test-client/src/module_bindings/update_unique_uuid_reducer.rs:60
↓ 1 callersMethodupdate_value
Update the current value of the sequence. This is used on very specific occasions, such as cloning a sequence
crates/datastore/src/locking_tx_datastore/sequence.rs:75
↓ 1 callersMethodupdates
Returns the updated rows in this diff. This will be empty if [`Self::derive_updates`] never ran.
sdks/rust/src/client_cache.rs:188
↓ 1 callersMethodupgrade
(self, config: WebSocketConfig)
crates/client-api/src/util/websocket.rs:187
↓ 1 callersFunctionupgrade_constraint
Upgrade a constraint. `primary_key` is mutable and will be set to `Some(constraint.columns.as_singleton())` if the constraint is a primary key. If it
crates/schema/src/def/validate/v8.rs:295
↓ 1 callersFunctionupgrade_module
Upgrade a module, returning a v9 module definition. Most of our validation happens in v9, but there are some errors that can only happen in v8; these
crates/schema/src/def/validate/v8.rs:44
↓ 1 callersFunctionupgrade_schedule
(schedule: Option<RawIdentifier>, scheduled_at_col: Option<u16>)
crates/schema/src/def/validate/v8.rs:337
↓ 1 callersFunctionupgrade_table
Upgrade a table, returning a v9 table definition and a stream of v8-only validation errors.
crates/schema/src/def/validate/v8.rs:126
↓ 1 callersMethodupload_analysis
Upload analysis for a specific (lang, mode, model) via the upload endpoint.
tools/xtask-llm-benchmark/src/api/client.rs:304
↓ 1 callersMethodupload_task_catalog
Upload the task catalog to `POST /api/llm-benchmark-tasks`, derived from the benchmarks directory structure on disk.
tools/xtask-llm-benchmark/src/api/client.rs:131
↓ 1 callersFunctionupsert_env_db_names_and_hosts
Upserts all SPACETIMEDB_DB_NAME and SPACETIMEDB_HOST variants into `.env.local`, preserving comments/formatting and leaving unrelated keys unchanged.
crates/cli/src/subcommands/dev.rs:952
↓ 1 callersFunctionuri
()
crates/bindings-typescript/src/solid/SpacetimeDBProvider.ts:25
↓ 1 callersMethodurl_messages
(&self)
tools/xtask-llm-benchmark/src/llm/clients/anthropic.rs:29
↓ 1 callersFunctionurl_to_host_and_protocol
(url: &str)
crates/cli/src/util.rs:279
↓ 1 callersFunctionuseNowMicros
(intervalMs = 250)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/client/src/App.tsx:57
↓ 1 callersFunctionuseReducer
( reducerDef: ReducerDef )
crates/bindings-typescript/src/vue/useReducer.ts:6
↓ 1 callersFunctionuseSpacetimeDBQuery
( queryOrSkip: Query<TableDef> | 'skip', // any useQuery option (e.g. enabled, refetchInterval, select, pl
crates/bindings-typescript/src/tanstack/hooks.ts:32
↓ 1 callersFunctionuser_input_loop
Read each line of standard input, and either set our name or send a message as appropriate.
templates/chat-console-rs/src/main.rs:197
↓ 1 callersFunctionuser_name_or_identity
(user: &User)
templates/chat-console-rs/src/main.rs:113
↓ 1 callersFunctionutf8_decode
Decode a UTF-8 string from an `ArrayBuffer` into a JS string. If `fatal` is true, throw an error if the data is not valid UTF-8. Signature fom ./typ
crates/core/src/host/v8/builtins/mod.rs:140
↓ 1 callersFunctionutf8_encode
Encode a JS string into UTF-8. Implementing this as a host call is much faster than implementing it as userspace JS. Signature from ./types.d.ts: ``
crates/core/src/host/v8/builtins/mod.rs:118
↓ 1 callersFunctionutf8bytes_to_bytestring
(s: Utf8Bytes)
crates/client-api/src/routes/subscribe.rs:1896
↓ 1 callersFunctionv2_client_config
()
crates/core/src/host/module_host.rs:3543
↓ 1 callersFunctionv2_message_num_rows
(message: &ws_v2::ServerMessage)
crates/core/src/client/messages.rs:329
↓ 1 callersFunctionv2_outbound_message
Convert an outbound message into the binary websocket schema. v2 connections should only receive v2 server messages. v1 messages are dropped. TODO:
crates/client-api/src/routes/subscribe.rs:1321
↓ 1 callersFunctionv3_payload_would_exceed_limit
Return whether appending the next message would cross the v3 coalescing cap. An empty payload is always allowed to accept one message, even when that
crates/client-api/src/routes/subscribe.rs:1352
↓ 1 callersFunctionv8_interned_string
Creates an interned [`v8::String`].
crates/core/src/host/v8/de.rs:252
↓ 1 callersMethodvalidate
(&'a self, table_name: &str, cols: &'a [Column<'a>])
crates/bindings-macro/src/table.rs:401
↓ 1 callersMethodvalidate
(self, vec: A)
crates/sats/src/de.rs:802
↓ 1 callersFunctionvalidateConfig
(provider: string, model: string)
templates/llm-chat-ts/spacetimedb/src/index.ts:69
↓ 1 callersFunctionvalidateMessage
(content: string)
templates/llm-chat-ts/spacetimedb/src/index.ts:92
↓ 1 callersFunctionvalidateMessage
(text: string)
templates/chat-react-ts/spacetimedb/src/index.ts:38
↓ 1 callersFunctionvalidateName
(name: string)
templates/chat-react-ts/spacetimedb/src/index.ts:23
↓ 1 callersMethodvalidate_add_columns_schema
Validates that the proposed `new_columns` schema is compatible with the existing table schema and that all newly added columns are initialized with de
crates/table/src/table.rs:452
↓ 1 callersFunctionvalidate_bsatn
Validates that `bytes`, encoded in BSATN, is valid according to the validation `program` and a corresponding `static_layout`, # Safety The caller mu
crates/table/src/static_bsatn_validator.rs:323
↓ 1 callersMethodvalidate_column_default_value
( &self, tables: &HashMap<Identifier, TableDef>, cdv: &RawColumnDefaultValueV9, )
crates/schema/src/def/validate/v9.rs:541
↓ 1 callersFunctionvalidate_commit_header
Try to extract the commit header from the asked position without advancing seek. `IndexFileMut` fsync asynchoronously, which makes it important for re
crates/commitlog/src/segment.rs:516
↓ 1 callersMethodvalidate_for_type_definition
Validates that a type can be used to generate a client type definition.
crates/schema/src/def/validate/v9.rs:862
↓ 1 callersMethodvalidate_http_handler_def
(&mut self, handler_def: RawHttpHandlerDefV10)
crates/schema/src/def/validate/v10.rs:761
← previousnext →10,601–10,700 of 27,764, ranked by callers