MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 6 callersMethodparams
(&self)
crates/cli/src/subcommands/call.rs:46
↓ 6 callersMethodparams_for_generate
( &mut self, params: &ProductType, make_type_location: impl Fn(usize, Option<RawIdenti
crates/schema/src/def/validate/v9.rs:720
↓ 6 callersMethodparse
* Parse a UUID from a string representation. * * @param s - UUID string * @returns Parsed UUID * @throws {Error} If the string is not a va
crates/bindings-typescript/src/lib/uuid.ts:219
↓ 6 callersFunctionparse_domain_name
Parses a [`DomainName`]. For more information, see the documentation of [`DomainName`].
crates/client-api-messages/src/name.rs:639
↓ 6 callersFunctionparse_table_update
( raw_updates: __ws::v2::TableUpdate, )
sdks/rust/tests/view-pk-client/src/module_bindings/view_pk_player_table.rs:135
↓ 6 callersFunctionping
(port: number, timeout = 2000)
templates/keynote-2/src/demo.ts:33
↓ 6 callersMethodplayer_location
(&self)
sdks/rust/tests/view-client/src/module_bindings/player_location_table.rs:32
↓ 6 callersMethodproject
Project the [ColExpr]s & the [Constraints] that referenced them
crates/schema/src/relation.rs:166
↓ 6 callersFunctionput_result
(result: &mut Option<ResultRecorder>, res: anyhow::Result<()>)
sdks/rust/tests/case-conversion-client/src/main.rs:62
↓ 6 callersFunctionq
(p: number)
templates/keynote-2/src/core/runner.ts:424
↓ 6 callersMethodqueue_mutation
See [`DbContextImpl::queue_mutation`].
sdks/rust/src/client_cache.rs:451
↓ 6 callersMethodread_u32_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/reader.h:68
↓ 6 callersFunctionread_u8
crates/bindings-cpp/include/spacetimedb/internal/Module_impl.h:139
↓ 6 callersMethodread_u8
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:213
↓ 6 callersMethodread_u8
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/reader.h:61
↓ 6 callersMethodreducers
(&self)
sdks/rust/tests/test-client/src/module_bindings/mod.rs:4344
↓ 6 callersFunctionrefreshScheduled
()
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/App.tsx:118
↓ 6 callersFunctionregister_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
sdks/rust/tests/view-pk-client/src/module_bindings/view_pk_player_table.rs:129
↓ 6 callersMethodreject
(reason?: any)
crates/bindings-typescript/tests/db_connection.test.ts:60
↓ 6 callersFunctionrelational_db
An in-memory `RelationalDB` for testing. It does not persist data to disk.
crates/core/src/host/instance_env.rs:1397
↓ 6 callersMethodreport_tx_metrics
Reports the `TxMetrics`s passed. Should only be called after the tx lock has been fully released.
crates/engine/src/relational_db.rs:1064
↓ 6 callersFunctionrequireRoom
(ctx: any, roomId: bigint)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/backend/spacetimedb/src/index.ts:65
↓ 6 callersMethodreset_to
(mut self, offset: u64)
crates/commitlog/src/commitlog.rs:233
↓ 6 callersFunctionresolve_optional_database_parts
( raw_parts: &[String], config_targets: Option<&[ConfigDbTarget]>, required_arg_name: &str, us
crates/cli/src/subcommands/db_arg_resolution.rs:84
↓ 6 callersFunctionresult
* This is a convenience method for creating a column with the {@link Result} type. * You can create a column of the same type by constructing an en
crates/bindings-typescript/src/lib/type_builders.ts:3988
↓ 6 callersMethodreturn_table
The [`TableOrViewSchema`] of the returned rows. Note this expression returns rows from a relvar. Hence it this method should never return [None].
crates/expr/src/expr.rs:75
↓ 6 callersMethodright_semijoin
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/join.h:359
↓ 6 callersMethodrollback
()
templates/keynote-2/src/core/connectors.ts:18
↓ 6 callersFunctionroute_base
(server_url: &str, identity: &str)
crates/smoketests/tests/smoketests/http_routes.rs:1132
↓ 6 callersMethodrow_level_security
The row-level security policies of the module definition.
crates/schema/src/def.rs:289
↓ 6 callersMethodrow_size
Returns the row size for a row in the table.
crates/table/src/table.rs:2391
↓ 6 callersFunctionrun_tx_once
crates/bindings-cpp/include/spacetimedb/internal/tx_execution.h:79
↓ 6 callersFunctionrust_http_test
(module_code: &str)
crates/smoketests/tests/smoketests/http_routes.rs:1087
↓ 6 callersFunctionschedule_consume_entity
demo/Blackholio/server-cpp/spacetimedb/src/lib.cpp:254
↓ 6 callersMethodsend_reducer_and_recv_update
( &mut self, message: impl Into<DataMessage>, request_id: RequestId, )
crates/testing/src/modules.rs:116
↓ 6 callersFunctionsend_to_client
( client: &ClientConnectionSender, tx_offset: Option<TxOffset>, message: OutboundMessage, //me
crates/core/src/subscription/module_subscription_manager.rs:2173
↓ 6 callersMethodserialize
(&self, serializer: S)
crates/sats/src/ser/serde.rs:208
↓ 6 callersFunctionserializePoint
(buffer: ResizableBuffer, colVal: any[])
crates/bindings-typescript/src/server/runtime.ts:697
↓ 6 callersMethodset
Sets the slot to `tx` runs `work`, and returns back `tx`.
crates/core/src/host/instance_env.rs:1295
↓ 6 callersMethodset
crates/bindings-cpp/src/internal/AlgebraicType.cpp:88
↓ 6 callersFunctionsetGlobalLogLevel
(level: LogLevel)
crates/bindings-typescript/src/sdk/logger.ts:46
↓ 6 callersFunctionsetToken
(token: string)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:8
↓ 6 callersFunctionsetup_table_with_indices
( indices: impl Into<Vec<IndexSchema>>, constraints: impl Into<Vec<ConstraintSchema>>, )
crates/datastore/src/locking_tx_datastore/datastore.rs:1398
↓ 6 callersFunctionsh
( cmd: string, args: string[], opts: import('node:child_process').SpawnOptions = {}, )
templates/keynote-2/src/init/utils.ts:9
↓ 6 callersMethodshared_ref
(&'a self)
crates/data-structures/src/slim_slice.rs:338
↓ 6 callersFunctionshould_pass_by_value_in_delegate
Helper function to check if a type should be passed by value (only true primitives)
crates/codegen/src/unrealcpp.rs:6210
↓ 6 callersMethodsign
(&self, claims: &T)
crates/client-api/src/auth.rs:261
↓ 6 callersFunctionsize_for_btree_bytes_key
A difference between btree indices and hash indices is that the former btree indices store keys and values separately, i.e., as `([K], [RowPointer])`
crates/table/src/table_index/bytes_key.rs:107
↓ 6 callersMethodsleep
Create a future that becomes ready after `duration` of virtual time. The returned future is lazy: it does not allocate a timer entry until the first
crates/runtime/src/sim/time/mod.rs:123
↓ 6 callersMethodspacetime_register_tld
Inserts a top level domain that will be owned by `owner_identity`. # Arguments `domain` - The domain name to register `owner_identity` - The identit
crates/standalone/src/control_db.rs:302
↓ 6 callersMethodsubscribe
(&self, subscription: ws_v1::Subscribe, timer: Instant)
crates/core/src/client/client_connection.rs:1186
↓ 6 callersFunctionsubscribe_these_then
( ctx: &impl RemoteDbContext, queries: &[&str], callback: impl FnOnce(&SubscriptionEventContext) +
sdks/rust/tests/view-client/src/test_handlers.rs:75
↓ 6 callersMethodsubscribed_table_id
A subscription query return rows from a single table. This method returns the id of that table.
crates/core/src/subscription/module_subscription_manager.rs:91
↓ 6 callersMethodsubscribed_table_name
A subscription query return rows from a single table. This method returns the name of that table.
crates/core/src/subscription/module_subscription_manager.rs:97
↓ 6 callersMethodsubscription_builder
(&self)
sdks/rust/tests/case-conversion-client/src/module_bindings/mod.rs:319
↓ 6 callersMethodsync_all
Flush and sync the currently written-to segment (if any) to disk. Dropping a [`StreamWriter`] will attempt to invoke this, but any errors will not be
crates/commitlog/src/stream/writer.rs:265
↓ 6 callersMethodtable
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/query_builder.h:73
↓ 6 callersMethodtable
Iterate over all rows in the table
crates/bindings-cpp/include/spacetimedb/database.h:179
↓ 6 callersFunctiontableIterator
( id: u32, deserialize: Deserializer<T> )
crates/bindings-typescript/src/server/runtime.ts:990
↓ 6 callersMethodtable_name
(&self, table_id: TableId)
crates/datastore/src/locking_tx_datastore/state_view.rs:64
↓ 6 callersFunctiontime_row_entry
(scheduled_id: u64)
crates/smoketests/tests/smoketests/schedule_reducer.rs:7
↓ 6 callersMethodtld
Get the top-level domain, as a reference.
crates/client-api-messages/src/name.rs:451
↓ 6 callersFunctiontoComparableValue
(value: any)
crates/bindings-typescript/src/lib/query.ts:968
↓ 6 callersMethodtoString
()
crates/bindings-typescript/src/sdk/version.ts:51
↓ 6 callersMethodto_expr
(self)
crates/query-builder/src/expr.rs:71
↓ 6 callersFunctionto_major_minor_patch_wildcard
(version: &str)
crates/cli/src/subcommands/init.rs:1036
↓ 6 callersMethodto_product_value
(&self)
crates/execution/src/lib.rs:161
↓ 6 callersMethodtry_fill_bytes
(&mut self, dest: &mut [u8])
crates/bindings/src/rng.rs:170
↓ 6 callersMethodty
The [AlgebraicType] of this scalar expression
crates/expr/src/expr.rs:428
↓ 6 callersFunctiontype_expr
Type check and lower a [SqlExpr] into a logical [Expr].
crates/expr/src/lib.rs:159
↓ 6 callersFunctiontype_proj
Type check and lower a [ast::Project]
crates/expr/src/lib.rs:54
↓ 6 callersMethodtypes
The type definitions of the module definition.
crates/schema/src/def.rs:284
↓ 6 callersFunctiontypescript_http_test
(name: &str, module_code: &str)
crates/smoketests/tests/smoketests/http_routes.rs:1109
↓ 6 callersMethodupdate
()
crates/core/src/host/module_host.rs:197
↓ 6 callersMethodupdate
(&mut self, input: &[u8])
crates/snapshot/src/remote.rs:647
↓ 6 callersFunctionvalidate
Validates BSATN `byte` to conform to `seed`. The BSATN can originate from untrusted sources, e.g., from module code. This also means that e.g., a `By
crates/table/src/table_index/bytes_key.rs:185
↓ 6 callersMethodvalidate
Validate that all required keys are present in either config or CLI.
crates/cli/src/spacetime_config.rs:770
↓ 6 callersMethodvalidate_for_type_use
Validates that a type can be used to generate a client type use.
crates/schema/src/def/validate/v9.rs:848
↓ 6 callersMethodvalidated
Verify the definitions of this schema are valid: - Check all names are not empty - All columns exists - Only 1 PK - Only 1 sequence per column - Only
crates/schema/src/schema.rs:546
↓ 6 callersMethodvariant
(self, visitor: V)
crates/sats/src/de.rs:913
↓ 6 callersMethodversion_dir
(&self, version: &str)
crates/paths/src/cli.rs:35
↓ 6 callersMethodvisit_sum
(self, data: A)
crates/sats/src/de/impls.rs:384
↓ 6 callersMethodwith_compile_command
(self, compile_command: impl Into<String>)
crates/testing/src/sdk.rs:428
↓ 6 callersMethodwith_instance
(&mut self, f: impl FnOnce(&mut ModuleInstance) -> R)
crates/core/src/host/module_host.rs:397
↓ 6 callersMethodwith_language
(self, generate_language: impl Into<String>)
crates/testing/src/sdk.rs:406
↓ 6 callersMethodwith_module
(self, module_name: impl Into<String>)
crates/testing/src/sdk.rs:392
↓ 6 callersMethodwith_name
(self, name: impl Into<String>)
crates/testing/src/sdk.rs:385
↓ 6 callersFunctionwith_read_only
(db: &RelationalDB, f: impl FnOnce(&mut Tx) -> T)
crates/engine/src/relational_db.rs:2160
↓ 6 callersMethodwith_run_command
(self, run_command: impl Into<String>)
crates/testing/src/sdk.rs:435
↓ 6 callersMethodwith_schedule
Adds a schedule definition to the table. The `function_name` should name a reducer or procedure which accepts one argument, a row of this table. The
crates/lib/src/db/raw_def/v9.rs:982
↓ 6 callersMethodwrite
Serialize and write `self` to `out`. Returns the crc32 checksum of the commit on success.
crates/commitlog/src/commit.rs:162
↓ 6 callersFunctionwrite_row_to_page
Writes `row` typed at `ty` to `page` using `blob_store` as needed to write large blobs and `visitor` to fixup var-len pointers in the fixed-len row pa
crates/table/src/bflatn_to.rs:122
↓ 6 callersFunctionwrite_string
crates/bindings-cpp/include/spacetimedb/internal/Module_impl.h:134
↓ 6 callersMethodwrite_type_name
(&mut self, ty: &AlgebraicType)
crates/schema/src/auto_migrate/termcolor_formatter.rs:141
↓ 6 callersFunctionwrite_u32
crates/bindings-cpp/include/spacetimedb/internal/Module_impl.h:129
↓ 6 callersMethodwrite_u32_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:49
↓ 6 callersFunctionws_main_loop
The main `select!` loop of the websocket client actor. > This function is defined standalone with generic parameters so that its > behavior can be te
crates/client-api/src/routes/subscribe.rs:613
↓ 6 callersFunctionyield_now
Yield back to the scheduler once. This is the smallest explicit interleaving point available to simulated tasks when they need to give other runnable
crates/runtime/src/sim/executor/mod.rs:558
↓ 6 callersMethodzero_data
Zeroes every byte of row data in this page. # Safety Causes the page header to no longer match the contents, invalidating many assumptions. Should b
crates/table/src/page.rs:1860
↓ 5 callersMethod#makeEventContext
( event: Event< ReducerEventInfo< RemoteModule['reducers'][number]['name'], InferTyp
crates/bindings-typescript/src/sdk/db_connection_impl.ts:458
← previousnext →1,501–1,600 of 27,764, ranked by callers