MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 4 callersMethodproject_row
Projects `row_ref` to the columns of `self`. May panic if `row_ref` doesn't belong to the same table as this inex.
crates/table/src/table_index/mod.rs:2333
↓ 4 callersFunctionproperty
Returns the property for `key` on `object`.
crates/core/src/host/v8/de.rs:273
↓ 4 callersMethodpsql
Runs psql command against the PostgreSQL wire protocol server. Returns the output on success, or an error with stderr on failure.
crates/smoketests/src/lib.rs:1020
↓ 4 callersMethodput
(&self, value: &[u8])
crates/core/src/host/disk_storage.rs:52
↓ 4 callersFunctionput_result
(result: &mut Option<ResultRecorder>, res: Result<(), anyhow::Error>)
sdks/rust/tests/procedural-view-pk-client/src/test_handlers.rs:21
↓ 4 callersMethodput_u64
Writes a `u64` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:98
↓ 4 callersFunctionquote_string
crates/bindings-cpp/include/spacetimedb/query_builder/expr.h:55
↓ 4 callersMethodr#gen
(&mut self)
crates/bench/src/schemas.rs:174
↓ 4 callersFunctionrandomRange
( random: { (): number }, minInclusive: number, maxExclusive: number )
demo/Blackholio/server-ts/src/index.ts:715
↓ 4 callersFunctionrange_from
crates/bindings-cpp/include/spacetimedb/range_queries.h:94
↓ 4 callersMethodraw_column_name
Return a best effort name for this column, to be used in errors. If we can't find a string name for it, use an integer instead. (It's generally prefe
crates/schema/src/def/validate/v9.rs:1392
↓ 4 callersMethodread
(&mut self, buf: &mut [u8])
crates/fs-utils/src/compression.rs:110
↓ 4 callersMethodread
(&mut self, buf: &mut [u8])
crates/commitlog/src/repo/mem/segment.rs:137
↓ 4 callersMethodread
Read some number of BSATN-encoded rows into the provided buffer. Returns the number of new bytes added to the end of the buffer. When the iterator ha
crates/bindings-sys/src/lib.rs:1506
↓ 4 callersFunctionreadBooleanEnv
( name: string, defaultValue: boolean, env: NodeJS.ProcessEnv = process.env, )
templates/keynote-2/src/config.ts:191
↓ 4 callersMethodread_i64_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/reader.h:86
↓ 4 callersFunctionread_logs
(module: &ModuleHandle)
crates/testing/tests/standalone_integration_test.rs:23
↓ 4 callersFunctionread_write_seek
(f: &mut (impl AsyncRead + AsyncSeek + AsyncWrite + Unpin))
crates/commitlog/src/repo/mem.rs:149
↓ 4 callersFunctionreducer_args_type_name
(reducer_name: &ReducerName)
crates/codegen/src/typescript.rs:886
↓ 4 callersFunctionreformat_bsatn_rows
Decode BSATN row-list entries and re-encode them as schema-aware JSON values.
crates/cli/src/subcommands/subscribe.rs:803
↓ 4 callersMethodregister
(displayName: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:50
↓ 4 callersFunctionregister_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
modules/sdk-test-procedure-cpp/client/src/module_bindings/pk_uuid_table.rs:82
↓ 4 callersFunctionregister_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/left_source_table.rs:129
↓ 4 callersFunctionregister_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
sdks/rust/tests/procedure-client/src/module_bindings/pk_uuid_table.rs:82
↓ 4 callersMethodrelational_db
Returns a reference to the relational database.
crates/core/src/replica_context.rs:78
↓ 4 callersMethodremove_failed_subscription
( &self, subscription_metrics: &SubscriptionMetrics, sender_id: ClientActorId,
crates/core/src/subscription/module_subscription_actor.rs:587
↓ 4 callersMethodreplica
(&self, replica_id: u64)
crates/paths/src/server.rs:57
↓ 4 callersMethodreplica_ctx
(&self)
crates/core/src/host/v8/mod.rs:287
↓ 4 callersMethodreport_read_tx_metrics
Reports subscription metrics for `reducer`, using counters provided by `db`.
crates/engine/src/relational_db.rs:1536
↓ 4 callersFunctionrequired_bytes_key_size
Returns the number of bytes required at most to store a key at `ty` when serialized in BSATN format. If keys at `ty` are incompatible with fixed byte
crates/table/src/table_index/bytes_key.rs:118
↓ 4 callersMethodreserve_empty_page
Reserve a new, initially empty page.
crates/table/src/pages.rs:171
↓ 4 callersMethodreset
(&mut self)
crates/snapshot/src/lib.rs:689
↓ 4 callersMethodreset_to_zero
(&mut self)
crates/table/src/table_index/key_size.rs:27
↓ 4 callersMethodresolve
(&self, name: reqwest::dns::Name)
crates/core/src/host/instance_env.rs:1028
↓ 4 callersMethodresolve_index_with_patterns
crates/bindings-cpp/include/spacetimedb/readonly_field_accessors.h:54
↓ 4 callersMethodresolve_index_with_patterns
crates/bindings-cpp/include/spacetimedb/table_with_constraints.h:259
↓ 4 callersMethodretain_constraints
Copy the [Constraints] that are referenced in the list of `for_columns`
crates/schema/src/relation.rs:149
↓ 4 callersMethodreverse
Reverse the order of the `cmp`, to helps in reducing the cases on evaluation, ie:
crates/lib/src/operator.rs:33
↓ 4 callersMethodrollback_procedure_tx
Roll back an anonymous procedure tx and record the resulting offset.
crates/core/src/host/instance_env.rs:814
↓ 4 callersMethodrun_one
(&self, task: &TaskPaths, cfg: &RunContext<'_>)
tools/xtask-llm-benchmark/src/bench/runner.rs:176
↓ 4 callersFunctionrun_pnpm
Runs pnpm with the given arguments in the given working directory.
crates/smoketests/tests/smoketests/templates.rs:267
↓ 4 callersMethodrun_quickstart
Run the full quickstart test.
crates/smoketests/tests/smoketests/quickstart.rs:732
↓ 4 callersFunctionrun_tests
Run the procedure tests
modules/sdk-test-procedure-cpp/client/src/main.rs:108
↓ 4 callersMethodschema_for_table_raw
Reads the schema information for the specified `table_id` directly from the database.
crates/datastore/src/locking_tx_datastore/state_view.rs:168
↓ 4 callersFunctionsdk_dir
()
tools/regen/src/csharp.rs:20
↓ 4 callersMethodseek_point
(&self, key: &TypedIndexKey<'_>)
crates/table/src/table_index/mod.rs:1564
↓ 4 callersMethodsequence_id_from_name
(&self, tx: &MutTx, sequence_name: &str)
crates/engine/src/relational_db.rs:1331
↓ 4 callersMethodserialize_named_product
(mut self, _len: usize)
crates/sats/src/satn.rs:350
↓ 4 callersMethodserialize_str
(self, string: &str)
crates/core/src/host/v8/ser.rs:107
↓ 4 callersMethodserver_host
Returns the server host (without protocol), e.g., "127.0.0.1:3000".
crates/smoketests/src/lib.rs:978
↓ 4 callersFunctionset_hook_slots
Registers all the module function `hooks` and sets the given `AbiVersion` to `abi`.
crates/core/src/host/v8/syscall/hooks.rs:28
↓ 4 callersFunctionset_table_opt_value
Set the value of a key in a `TOML` table, removing the key if the value is `None`. NOTE**: This function will preserve the formatting and comments of
crates/cli/src/config.rs:873
↓ 4 callersMethodsimulateConnectError
(error: Error)
crates/bindings-typescript/tests/connection_manager_reconnect.test.ts:83
↓ 4 callersFunctionsize_for_hash_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:94
↓ 4 callersFunctionspacetimeDBQuery
( queryOrSkip: QueryInput | 'skip' )
crates/bindings-typescript/src/tanstack/SpacetimeDBQueryClient.ts:42
↓ 4 callersMethodspacetime_lookup_tld
Returns the owner (or `None` if there is no owner) of the domain. # Arguments `domain` - The domain to lookup
crates/standalone/src/control_db.rs:328
↓ 4 callersMethodspawn
Spawn a `Send` future onto this simulated node.
crates/runtime/src/sim/executor/mod.rs:108
↓ 4 callersFunctionsplit_at_first_substring
Returns a tuple with - everything after the first `substring` - and anything before it.
crates/cli/src/subcommands/call.rs:214
↓ 4 callersFunctionsplit_key
(key: usize)
crates/table/src/table_index/unique_direct_index.rs:113
↓ 4 callersMethodsquashed_offset
(self)
crates/table/src/indexes.rs:317
↓ 4 callersMethodstart_call_timer
(&self, label: &str)
crates/core/src/host/module_host.rs:1778
↓ 4 callersFunctionstart_runtime
()
crates/testing/src/modules.rs:39
↓ 4 callersFunctionstdbSetName
(h: StdbHandle, name: string)
tools/llm-sequential-upgrade/perf-benchmark/src/clients/spacetime-client.ts:75
↓ 4 callersFunctionstopTyping
(userId: number, userName: string, roomId: number)
tools/llm-sequential-upgrade/perf-benchmark/optimized-reference/pg-index-optimized.ts:1579
↓ 4 callersFunctionstring_row_type
()
crates/table/benches/page.rs:506
↓ 4 callersMethodsub_from_key_bytes
(&mut self, _: &(impl KeySize + ?Sized))
crates/table/src/table_index/key_size.rs:26
↓ 4 callersFunctionsubscribe_and_prepare
( db_name: &str, test_name: &str, old: i32, new: i32, waiters: [Arc<Te
sdks/rust/tests/test-client/src/test_handlers.rs:2581
↓ 4 callersMethodsubscription_builder
(&self)
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/mod.rs:308
↓ 4 callersMethodswap
crates/bindings-cpp/include/spacetimedb/table.h:206
↓ 4 callersMethodswap_func_type
Swap in a temporary function type, returning the previous one.
crates/core/src/host/instance_env.rs:263
↓ 4 callersMethodtable_ids
Returns the table ids from which this subscription reads
crates/core/src/subscription/module_subscription_manager.rs:111
↓ 4 callersFunctiontable_method_name
(table_name: &Identifier)
crates/codegen/src/rust.rs:1096
↓ 4 callersMethodtable_row_count
Returns the row count in insert tables and the number of rows deleted from committed state.
crates/datastore/src/locking_tx_datastore/tx_state.rs:175
↓ 4 callersFunctiontest
(x: T)
crates/sats/src/de/impls.rs:1072
↓ 4 callersFunctiontest_calling_a_reducer_in_module
(module_name: &'static str)
crates/testing/tests/standalone_integration_test.rs:44
↓ 4 callersFunctiontest_subscription_updates
(queries: &[&'static str])
crates/core/src/subscription/module_subscription_actor.rs:3468
↓ 4 callersFunctiontime_duration
* @brief Create a TimeDuration type (duration in microseconds). * * @return AlgebraicType representing a TimeDuration * @todo Integrat
crates/bindings-cpp/include/spacetimedb/bsatn/type_extensions.h:318
↓ 4 callersFunctiontoCamelCase
(s: T)
crates/bindings-typescript/src/lib/util.ts:114
↓ 4 callersFunctionto_bytes
crates/bindings-cpp/include/spacetimedb/bsatn/serialization.h:100
↓ 4 callersMethodto_hex
Convert this `Identity` to a hexadecimal string.
crates/lib/src/identity.rs:230
↓ 4 callersMethodto_hex_string
crates/bindings-cpp/include/spacetimedb/bsatn/types_impl.h:28
↓ 4 callersFunctionto_string
()
crates/sats/src/uuid.rs:283
↓ 4 callersMethodto_tld
Get the top-level domain, as an owned [`Tld`].
crates/client-api-messages/src/name.rs:456
↓ 4 callersFunctiontokio_block_on
(fut: Fut)
crates/update/src/cli.rs:111
↓ 4 callersFunctiontranspose_bound
Transposes a `Bound<Result<T, E>>` to a `Result<Bound<T>, E>`.
crates/table/src/table_index/mod.rs:463
↓ 4 callersMethodtry_init
()
crates/snapshot/tests/remote.rs:196
↓ 4 callersMethodtry_send
(&mut self, value: T)
crates/core/src/client/client_connection.rs:685
↓ 4 callersFunctionty_page_visitor
(ty: ProductType)
crates/table/benches/page.rs:701
↓ 4 callersFunctionu64_var_len_visitor
()
crates/table/src/page.rs:2014
↓ 4 callersMethodundo_mark
(&self)
crates/primitives/src/col_list.rs:534
↓ 4 callersMethodunpack
Convert the packed representation into an unpacked one.
crates/table/src/pointer_map.rs:106
↓ 4 callersMethodunregister_fn
On-panic callback passed to [`ModuleHost`]s created by this controller. Removes the module with the given `replica_id` from this controller.
crates/core/src/host/host_controller.rs:610
↓ 4 callersFunctionupdateSnapshot
()
crates/bindings-typescript/src/angular/injectors/inject-table.ts:134
↓ 4 callersFunctionupdateUnreadCounts
(userId: string)
tools/llm-oneshot/apps/chat-app/typescript/grok-code/postgres/chat-app-20260128-112222/server/src/socket/index.ts:678
↓ 4 callersFunctionupdate_cargo_toml_name
(dir: &Path, package_name: &str)
crates/cli/src/subcommands/init.rs:1070
↓ 4 callersFunctionupdate_package_json
(dir: &Path, package_name: &str)
crates/cli/src/subcommands/init.rs:1046
↓ 4 callersMethodupdate_table_id
Update the table id of this schema. For use by the core database engine after assigning a table id.
crates/schema/src/schema.rs:278
↓ 4 callersMethodupdate_view_pk_player_then
( &self, id: u64, name: String, callback: impl FnOnce(&super::ReducerEventCon
sdks/rust/tests/view-pk-client/src/module_bindings/update_view_pk_player_reducer.rs:60
↓ 4 callersMethoduri
()
crates/bindings-typescript/src/server/http_handlers.ts:185
↓ 4 callersFunctionuseAuth
()
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/App.tsx:24
← previousnext →2,301–2,400 of 27,764, ranked by callers