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
↓ 4 callers
Method
project_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 callers
Function
property
Returns the property for `key` on `object`.
crates/core/src/host/v8/de.rs:273
↓ 4 callers
Method
psql
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 callers
Method
put
(&self, value: &[u8])
crates/core/src/host/disk_storage.rs:52
↓ 4 callers
Function
put_result
(result: &mut Option<ResultRecorder>, res: Result<(), anyhow::Error>)
sdks/rust/tests/procedural-view-pk-client/src/test_handlers.rs:21
↓ 4 callers
Method
put_u64
Writes a `u64` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:98
↓ 4 callers
Function
quote_string
crates/bindings-cpp/include/spacetimedb/query_builder/expr.h:55
↓ 4 callers
Method
r#gen
(&mut self)
crates/bench/src/schemas.rs:174
↓ 4 callers
Function
randomRange
( random: { (): number }, minInclusive: number, maxExclusive: number )
demo/Blackholio/server-ts/src/index.ts:715
↓ 4 callers
Function
range_from
crates/bindings-cpp/include/spacetimedb/range_queries.h:94
↓ 4 callers
Method
raw_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 callers
Method
read
(&mut self, buf: &mut [u8])
crates/fs-utils/src/compression.rs:110
↓ 4 callers
Method
read
(&mut self, buf: &mut [u8])
crates/commitlog/src/repo/mem/segment.rs:137
↓ 4 callers
Method
read
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 callers
Function
readBooleanEnv
( name: string, defaultValue: boolean, env: NodeJS.ProcessEnv = process.env, )
templates/keynote-2/src/config.ts:191
↓ 4 callers
Method
read_i64_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/reader.h:86
↓ 4 callers
Function
read_logs
(module: &ModuleHandle)
crates/testing/tests/standalone_integration_test.rs:23
↓ 4 callers
Function
read_write_seek
(f: &mut (impl AsyncRead + AsyncSeek + AsyncWrite + Unpin))
crates/commitlog/src/repo/mem.rs:149
↓ 4 callers
Function
reducer_args_type_name
(reducer_name: &ReducerName)
crates/codegen/src/typescript.rs:886
↓ 4 callers
Function
reformat_bsatn_rows
Decode BSATN row-list entries and re-encode them as schema-aware JSON values.
crates/cli/src/subcommands/subscribe.rs:803
↓ 4 callers
Method
register
(displayName: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:50
↓ 4 callers
Function
register_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
modules/sdk-test-procedure-cpp/client/src/module_bindings/pk_uuid_table.rs:82
↓ 4 callers
Function
register_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/left_source_table.rs:129
↓ 4 callers
Function
register_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
sdks/rust/tests/procedure-client/src/module_bindings/pk_uuid_table.rs:82
↓ 4 callers
Method
relational_db
Returns a reference to the relational database.
crates/core/src/replica_context.rs:78
↓ 4 callers
Method
remove_failed_subscription
( &self, subscription_metrics: &SubscriptionMetrics, sender_id: ClientActorId,
crates/core/src/subscription/module_subscription_actor.rs:587
↓ 4 callers
Method
replica
(&self, replica_id: u64)
crates/paths/src/server.rs:57
↓ 4 callers
Method
replica_ctx
(&self)
crates/core/src/host/v8/mod.rs:287
↓ 4 callers
Method
report_read_tx_metrics
Reports subscription metrics for `reducer`, using counters provided by `db`.
crates/engine/src/relational_db.rs:1536
↓ 4 callers
Function
required_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 callers
Method
reserve_empty_page
Reserve a new, initially empty page.
crates/table/src/pages.rs:171
↓ 4 callers
Method
reset
(&mut self)
crates/snapshot/src/lib.rs:689
↓ 4 callers
Method
reset_to_zero
(&mut self)
crates/table/src/table_index/key_size.rs:27
↓ 4 callers
Method
resolve
(&self, name: reqwest::dns::Name)
crates/core/src/host/instance_env.rs:1028
↓ 4 callers
Method
resolve_index_with_patterns
crates/bindings-cpp/include/spacetimedb/readonly_field_accessors.h:54
↓ 4 callers
Method
resolve_index_with_patterns
crates/bindings-cpp/include/spacetimedb/table_with_constraints.h:259
↓ 4 callers
Method
retain_constraints
Copy the [Constraints] that are referenced in the list of `for_columns`
crates/schema/src/relation.rs:149
↓ 4 callers
Method
reverse
Reverse the order of the `cmp`, to helps in reducing the cases on evaluation, ie:
crates/lib/src/operator.rs:33
↓ 4 callers
Method
rollback_procedure_tx
Roll back an anonymous procedure tx and record the resulting offset.
crates/core/src/host/instance_env.rs:814
↓ 4 callers
Method
run_one
(&self, task: &TaskPaths, cfg: &RunContext<'_>)
tools/xtask-llm-benchmark/src/bench/runner.rs:176
↓ 4 callers
Function
run_pnpm
Runs pnpm with the given arguments in the given working directory.
crates/smoketests/tests/smoketests/templates.rs:267
↓ 4 callers
Method
run_quickstart
Run the full quickstart test.
crates/smoketests/tests/smoketests/quickstart.rs:732
↓ 4 callers
Function
run_tests
Run the procedure tests
modules/sdk-test-procedure-cpp/client/src/main.rs:108
↓ 4 callers
Method
schema_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 callers
Function
sdk_dir
()
tools/regen/src/csharp.rs:20
↓ 4 callers
Method
seek_point
(&self, key: &TypedIndexKey<'_>)
crates/table/src/table_index/mod.rs:1564
↓ 4 callers
Method
sequence_id_from_name
(&self, tx: &MutTx, sequence_name: &str)
crates/engine/src/relational_db.rs:1331
↓ 4 callers
Method
serialize_named_product
(mut self, _len: usize)
crates/sats/src/satn.rs:350
↓ 4 callers
Method
serialize_str
(self, string: &str)
crates/core/src/host/v8/ser.rs:107
↓ 4 callers
Method
server_host
Returns the server host (without protocol), e.g., "127.0.0.1:3000".
crates/smoketests/src/lib.rs:978
↓ 4 callers
Function
set_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 callers
Function
set_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 callers
Method
simulateConnectError
(error: Error)
crates/bindings-typescript/tests/connection_manager_reconnect.test.ts:83
↓ 4 callers
Function
size_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 callers
Function
spacetimeDBQuery
( queryOrSkip: QueryInput | 'skip' )
crates/bindings-typescript/src/tanstack/SpacetimeDBQueryClient.ts:42
↓ 4 callers
Method
spacetime_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 callers
Method
spawn
Spawn a `Send` future onto this simulated node.
crates/runtime/src/sim/executor/mod.rs:108
↓ 4 callers
Function
split_at_first_substring
Returns a tuple with - everything after the first `substring` - and anything before it.
crates/cli/src/subcommands/call.rs:214
↓ 4 callers
Function
split_key
(key: usize)
crates/table/src/table_index/unique_direct_index.rs:113
↓ 4 callers
Method
squashed_offset
(self)
crates/table/src/indexes.rs:317
↓ 4 callers
Method
start_call_timer
(&self, label: &str)
crates/core/src/host/module_host.rs:1778
↓ 4 callers
Function
start_runtime
()
crates/testing/src/modules.rs:39
↓ 4 callers
Function
stdbSetName
(h: StdbHandle, name: string)
tools/llm-sequential-upgrade/perf-benchmark/src/clients/spacetime-client.ts:75
↓ 4 callers
Function
stopTyping
(userId: number, userName: string, roomId: number)
tools/llm-sequential-upgrade/perf-benchmark/optimized-reference/pg-index-optimized.ts:1579
↓ 4 callers
Function
string_row_type
()
crates/table/benches/page.rs:506
↓ 4 callers
Method
sub_from_key_bytes
(&mut self, _: &(impl KeySize + ?Sized))
crates/table/src/table_index/key_size.rs:26
↓ 4 callers
Function
subscribe_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 callers
Method
subscription_builder
(&self)
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/mod.rs:308
↓ 4 callers
Method
swap
crates/bindings-cpp/include/spacetimedb/table.h:206
↓ 4 callers
Method
swap_func_type
Swap in a temporary function type, returning the previous one.
crates/core/src/host/instance_env.rs:263
↓ 4 callers
Method
table_ids
Returns the table ids from which this subscription reads
crates/core/src/subscription/module_subscription_manager.rs:111
↓ 4 callers
Function
table_method_name
(table_name: &Identifier)
crates/codegen/src/rust.rs:1096
↓ 4 callers
Method
table_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 callers
Function
test
(x: T)
crates/sats/src/de/impls.rs:1072
↓ 4 callers
Function
test_calling_a_reducer_in_module
(module_name: &'static str)
crates/testing/tests/standalone_integration_test.rs:44
↓ 4 callers
Function
test_subscription_updates
(queries: &[&'static str])
crates/core/src/subscription/module_subscription_actor.rs:3468
↓ 4 callers
Function
time_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 callers
Function
toCamelCase
(s: T)
crates/bindings-typescript/src/lib/util.ts:114
↓ 4 callers
Function
to_bytes
crates/bindings-cpp/include/spacetimedb/bsatn/serialization.h:100
↓ 4 callers
Method
to_hex
Convert this `Identity` to a hexadecimal string.
crates/lib/src/identity.rs:230
↓ 4 callers
Method
to_hex_string
crates/bindings-cpp/include/spacetimedb/bsatn/types_impl.h:28
↓ 4 callers
Function
to_string
()
crates/sats/src/uuid.rs:283
↓ 4 callers
Method
to_tld
Get the top-level domain, as an owned [`Tld`].
crates/client-api-messages/src/name.rs:456
↓ 4 callers
Function
tokio_block_on
(fut: Fut)
crates/update/src/cli.rs:111
↓ 4 callers
Function
transpose_bound
Transposes a `Bound<Result<T, E>>` to a `Result<Bound<T>, E>`.
crates/table/src/table_index/mod.rs:463
↓ 4 callers
Method
try_init
()
crates/snapshot/tests/remote.rs:196
↓ 4 callers
Method
try_send
(&mut self, value: T)
crates/core/src/client/client_connection.rs:685
↓ 4 callers
Function
ty_page_visitor
(ty: ProductType)
crates/table/benches/page.rs:701
↓ 4 callers
Function
u64_var_len_visitor
()
crates/table/src/page.rs:2014
↓ 4 callers
Method
undo_mark
(&self)
crates/primitives/src/col_list.rs:534
↓ 4 callers
Method
unpack
Convert the packed representation into an unpacked one.
crates/table/src/pointer_map.rs:106
↓ 4 callers
Method
unregister_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 callers
Function
updateSnapshot
()
crates/bindings-typescript/src/angular/injectors/inject-table.ts:134
↓ 4 callers
Function
updateUnreadCounts
(userId: string)
tools/llm-oneshot/apps/chat-app/typescript/grok-code/postgres/chat-app-20260128-112222/server/src/socket/index.ts:678
↓ 4 callers
Function
update_cargo_toml_name
(dir: &Path, package_name: &str)
crates/cli/src/subcommands/init.rs:1070
↓ 4 callers
Function
update_package_json
(dir: &Path, package_name: &str)
crates/cli/src/subcommands/init.rs:1046
↓ 4 callers
Method
update_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 callers
Method
update_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 callers
Method
uri
()
crates/bindings-typescript/src/server/http_handlers.ts:185
↓ 4 callers
Function
useAuth
()
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/App.tsx:24
← previous
next →
2,301–2,400 of 27,764, ranked by callers