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
↓ 12 callers
Method
exclude
Exclude a key from being read from the config file. This is useful for keys that should only come from CLI arguments.
crates/cli/src/spacetime_config.rs:295
↓ 12 callers
Function
get_filtered_publish_configs
Get filtered publish configs based on CLI arguments. Uses glob matching on database names when a pattern is provided via CLI.
crates/cli/src/subcommands/publish.rs:109
↓ 12 callers
Function
get_hook_function
Returns the hook function `name` on `hooks_obj`.
crates/core/src/host/v8/syscall/hooks.rs:16
↓ 12 callers
Function
host_or_url_to_host_and_protocol
(host_or_url: &str)
crates/cli/src/util.rs:298
↓ 12 callers
Method
identity
Get a handle on the `identity` unique index on the table `users`.
sdks/rust/tests/test-client/src/module_bindings/users_table.rs:112
↓ 12 callers
Method
indent
(&mut self)
crates/schema/src/auto_migrate/termcolor_formatter.rs:127
↓ 12 callers
Method
insert_row
Will leave partially-allocated chunks if fails prematurely, so always check `Self::has_space_for_row` before calling. This method is provided for tes
crates/table/src/page.rs:1407
↓ 12 callers
Function
insert_rows
Insert product values into a table
crates/core/src/sql/execute.rs:477
↓ 12 callers
Method
interval
Static factory methods
crates/bindings-cpp/include/spacetimedb/bsatn/schedule_at.h:135
↓ 12 callers
Method
into_inner
(self)
crates/codegen/src/unrealcpp.rs:5255
↓ 12 callers
Method
into_vec
(self)
crates/bindings/src/rt.rs:33
↓ 12 callers
Method
isEqual
* Check if two identities are equal.
crates/bindings-typescript/src/lib/identity.ts:41
↓ 12 callers
Function
migration_test
(module_name: &str, republish_args: &[&str], expect_success: bool)
crates/smoketests/tests/smoketests/cli/publish.rs:31
↓ 12 callers
Function
mkPlayer
()
crates/bindings-typescript/tests/table_cache.test.ts:274
↓ 12 callers
Method
next
(&mut self)
crates/datastore/src/locking_tx_datastore/state_view.rs:395
↓ 12 callers
Method
page_offset
(self)
crates/table/src/indexes.rs:311
↓ 12 callers
Function
parse_and_type_sub
A wrapper around [spacetimedb_expr::check::parse_and_type_sub] that takes a dummy [AuthCtx]
crates/physical-plan/src/plan.rs:1705
↓ 12 callers
Method
player_1
(&self)
sdks/rust/tests/case-conversion-client/src/module_bindings/player_1_table.rs:33
↓ 12 callers
Function
prepare_generate_run_configs
( generate_configs: Vec<CommandConfig<'a>>, _using_config: bool, config_dir: Option<&Path>, )
crates/cli/src/subcommands/generate.rs:300
↓ 12 callers
Function
project
A wrapper around [ProjectField] that increments a counter by the size of the projected value
crates/execution/src/pipelined.rs:1134
↓ 12 callers
Method
push_schema_change
Push a pending schema change.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:574
↓ 12 callers
Method
reopen
Re-open the database, after ensuring that all data has been flushed to disk (if the database was created via [`Self::durable`]).
crates/engine/src/relational_db.rs:2025
↓ 12 callers
Function
resolveValue
( expr: ValueExpr<any, any>, row: Record<string, any> )
crates/bindings-typescript/src/lib/query.ts:927
↓ 12 callers
Method
result
Returns a structural result type where `ok_type` is the type for the `ok` variant and `err_type` is the type for the `err` variant.
crates/sats/src/algebraic_type.rs:327
↓ 12 callers
Method
root
Returns the root of this `DirTrie` on disk.
crates/fs-utils/src/dir_trie.rs:75
↓ 12 callers
Method
run
In a loop, wait until [`JobCores`] decides that the current thread needs to move and then repin to the new core.
crates/core/src/util/jobs.rs:266
↓ 12 callers
Method
run_benchmark
(self)
crates/bench/benches/callgrind.rs:58
↓ 12 callers
Method
schema_for_table
Reads the schema information for the specified `table_id`, consulting the `cache` first. If the schema is not found in the cache, the method calls [S
crates/datastore/src/locking_tx_datastore/state_view.rs:305
↓ 12 callers
Function
server
()
crates/cli/src/common_args.rs:11
↓ 12 callers
Function
stringify
(value: unknown)
crates/bindings-typescript/src/sdk/logger.ts:75
↓ 12 callers
Method
to_micros
Get the number of microseconds `self` represents.
crates/sats/src/time_duration.rs:29
↓ 12 callers
Function
transaction_update_iter_table_updates
( tx_update: ws::v2::TransactionUpdate, )
sdks/rust/src/spacetime_module.rs:320
↓ 12 callers
Function
type_ref_name
(module: &ModuleDef, typeref: AlgebraicTypeRef)
crates/codegen/src/util.rs:80
↓ 12 callers
Method
validate
(self, de: D)
crates/sats/src/de/impls.rs:611
↓ 12 callers
Function
valueExprToSql
( expr: ValueExpr<Table, any>, tableAlias?: string )
crates/bindings-typescript/src/lib/query.ts:841
↓ 12 callers
Method
values
()
crates/bindings-typescript/src/sdk/client_cache.ts:62
↓ 12 callers
Method
visit
Walks the plan tree and calls `f` on every op
crates/physical-plan/src/plan.rs:319
↓ 12 callers
Method
write_action_prefix
(&mut self, action: &Action)
crates/schema/src/auto_migrate/termcolor_formatter.rs:121
↓ 12 callers
Method
write_indent
(&mut self)
crates/schema/src/auto_migrate/termcolor_formatter.rs:74
↓ 11 callers
Function
FProcedureEventContext
sdks/unreal/tests/TestProcClient/Source/TestProcClient/Public/ModuleBindings/SpacetimeDBClient.g.h:913
↓ 11 callers
Method
Filter
demo/Blackholio/client-unreal/Source/client_unreal/Public/ModuleBindings/Tables/CircleTable.g.h:58
↓ 11 callers
Method
Gt
(SqlLiteral<TValue> value)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:150
↓ 11 callers
Method
Gte
(SqlLiteral<TValue> value)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:152
↓ 11 callers
Method
Lt
(SqlLiteral<TValue> value)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:146
↓ 11 callers
Method
Lte
(SqlLiteral<TValue> value)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:148
↓ 11 callers
Method
MarkFailure
sdks/unreal/tests/TestViewPkClient/Source/TestViewPkClient/Private/Tests/TestCounter.cpp:20
↓ 11 callers
Method
MarkSuccess
sdks/unreal/tests/TestProcClient/Source/TestProcClient/Private/Tests/TestCounter.cpp:13
↓ 11 callers
Function
NotFound
()
crates/bindings-typescript/test-solid-router/src/errors/404.tsx:1
↓ 11 callers
Method
StartTrackingRequest
(string metadata = "")
sdks/csharp/src/Stats.cs:122
↓ 11 callers
Function
Subscribe
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/ModuleBindings/Types/ClientMessageType.g.h:38
↓ 11 callers
Method
ToString
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/MockCoreMinimal.h:100
↓ 11 callers
Method
add_subscription_multi
( &mut self, client: Client, queries: Vec<Query>, query_id: ClientQueryId,
crates/core/src/subscription/module_subscription_manager.rs:1021
↓ 11 callers
Method
add_to_global_namespace
Add a `name` to the global namespace. If it has already been added, return an error. This is not used for all `Def` types.
crates/schema/src/def/validate/v9.rs:753
↓ 11 callers
Function
array
* Creates a new `Array` {@link AlgebraicType} to be used in table definitions. * Represented as an array in TypeScript. * @param element The ele
crates/bindings-typescript/src/lib/type_builders.ts:3904
↓ 11 callers
Function
assertInt
(name: string, value: unknown)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/validate.ts:26
↓ 11 callers
Function
assert_success
(output: &Output, context: &str)
crates/smoketests/tests/smoketests/cli/auth.rs:16
↓ 11 callers
Method
block_on
(&self, future: impl std::future::Future<Output = T>)
crates/bench/src/spacetime_module.rs:42
↓ 11 callers
Method
check_compatibility_and_update
Check if this meta file is compatible with the default meta file of a just-started database, and if so return the metadata to write back to the file.
crates/core/src/config.rs:120
↓ 11 callers
Method
collect_all_targets_with_inheritance
Collect all database targets with parent→child inheritance. Children inherit unset `additional_fields` from their parent. `dev`, `generate`, and `chil
crates/cli/src/spacetime_config.rs:170
↓ 11 callers
Method
config_name
Get the config name
crates/cli/src/spacetime_config.rs:649
↓ 11 callers
Method
current_database
(mut self)
crates/smoketests/src/lib.rs:573
↓ 11 callers
Method
dec
(&self)
crates/core/src/host/module_host.rs:1296
↓ 11 callers
Method
deref
(&self)
crates/table/src/table_index/bytes_key.rs:56
↓ 11 callers
Method
end_bound
(&self)
crates/sats/src/algebraic_value.rs:350
↓ 11 callers
Method
extract_field
Extracts the `value` at field of `self` identified by `index` and then runs it through the function `f` which possibly returns a `T` derived from `val
crates/sats/src/product_value.rs:131
↓ 11 callers
Method
file_path
(&self, file_id: &FileId)
crates/fs-utils/src/dir_trie.rs:88
↓ 11 callers
Function
fill_log
( log: &mut commitlog::Generic<R, T>, num_commits: usize, txs_per_commit: impl Iterator<Item = usi
crates/commitlog/src/tests/helpers.rs:22
↓ 11 callers
Method
finish
(self)
crates/core/src/subscription/websocket_building.rs:66
↓ 11 callers
Method
fromString
* Parse an Identity from a hexadecimal string.
crates/bindings-typescript/src/lib/identity.ts:69
↓ 11 callers
Function
get
()
crates/bindings-typescript/src/lib/type_builders.ts:3932
↓ 11 callers
Function
get_auth_header
Gets the `auth_header` for a request to the server depending on how you want to identify yourself. If you specify `anon_identity = true` then no `aut
crates/cli/src/util.rs:174
↓ 11 callers
Method
get_config_value
Get a config value (from config file only, not merged with CLI). This is useful for filtering scenarios where you need to compare CLI values against
crates/cli/src/spacetime_config.rs:740
↓ 11 callers
Method
get_mut
Returns the mutable slot at `key`.
crates/table/src/table_index/unique_direct_index.rs:160
↓ 11 callers
Function
identifier
(raw: RawIdentifier)
crates/schema/src/def/validate/v9.rs:608
↓ 11 callers
Function
identity
Module ABI that returns the module identity. # Signature ```ignore identity() -> { __identity__: u256 } ``` # Types - `u256` is `bigint` in JS res
crates/core/src/host/v8/syscall/common.rs:626
↓ 11 callers
Function
identity_from_u8
Create an [Identity] from a [u8]
crates/core/src/subscription/module_subscription_actor.rs:2151
↓ 11 callers
Method
inc_scope
(&self)
crates/core/src/util/prometheus_handle.rs:28
↓ 11 callers
Method
info
(&self)
crates/core/src/host/module_host.rs:1750
↓ 11 callers
Function
insert_into_view
Insert a row into a view's backing table
crates/engine/src/relational_db.rs:2225
↓ 11 callers
Function
insert_str
(page: &mut Page, data: &[u8])
crates/table/src/page.rs:2190
↓ 11 callers
Method
ix_cols
(table_name: &'static str)
sdks/rust/tests/test-client/src/module_bindings/users_type.rs:45
↓ 11 callers
Method
ix_cols
(table_name: &'static str)
crates/query-builder/src/lib.rs:100
↓ 11 callers
Method
keys
()
crates/bindings-typescript/src/sdk/client_cache.ts:59
↓ 11 callers
Method
len
Returns the length of the array.
crates/sats/src/algebraic_value/ser.rs:302
↓ 11 callers
Function
make_reducer_data_parity_scorer
(host_url: &str, cfg: ReducerDataParityConfig<'_>)
tools/xtask-llm-benchmark/src/eval/defaults.rs:61
↓ 11 callers
Method
now
(&self)
crates/runtime/src/sim/time/mod.rs:39
↓ 11 callers
Function
num
()
templates/keynote-2/src/opts.ts:139
↓ 11 callers
Function
or
( first: BooleanExpr<Table>, second: BooleanExpr<OtherTable> & RequireSameAndOrTable<Table, OtherTable>,
crates/bindings-typescript/src/lib/query.ts:785
↓ 11 callers
Method
patch
Registers `handler` to handle `PATCH` requests at `path`. Panics if `self` already has a handler on this method at this path, including one registere
crates/bindings/src/http.rs:320
↓ 11 callers
Method
procedure_concurrency_row
(&self)
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/procedure_concurrency_row_table.rs:32
↓ 11 callers
Method
put_u8
Writes a `u8` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:83
↓ 11 callers
Method
range
(self, size: Size)
crates/table/src/indexes.rs:138
↓ 11 callers
Method
reducers
(&self)
sdks/rust/tests/case-conversion-client/src/module_bindings/mod.rs:302
↓ 11 callers
Method
remove_subscription
Remove a single subscription for a client. This will return an error if the client does not have a subscription with the given query id.
crates/core/src/subscription/module_subscription_manager.rs:839
↓ 11 callers
Function
requireLayerEditable
(ctx: any, layerId: bigint)
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:1756
↓ 11 callers
Function
result
()
crates/sats/src/algebraic_type.rs:575
↓ 11 callers
Method
right_semijoin
( self, right: Table<R>, on: impl Fn(&L::IxCols, &R::IxCols) -> IxJoinEq<L, R, V>,
crates/query-builder/src/join.rs:83
↓ 11 callers
Method
row_layout
Return the layout of the row. All rows within the same table will have the same layout.
crates/table/src/table.rs:1917
↓ 11 callers
Function
runTest
( tableCache: TableCacheImpl<any, string>, testSteps: TestStep[] )
crates/bindings-typescript/tests/table_cache.test.ts:61
↓ 11 callers
Method
select_by_id
(&self, table: &str, cols: &[&str], id_col: &str, id_val: i64)
tools/xtask-llm-benchmark/src/eval/sql_fmt.rs:56
← previous
next →
801–900 of 27,764, ranked by callers