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
↓ 7 callers
Method
is_timestamp
Returns whether this is the special case of `spacetimedb_lib::Timestamp`. Does not follow `Ref`s.
crates/sats/src/product_type.rs:133
↓ 7 callers
Method
is_unique
Returns whether this is a unique index or not.
crates/table/src/table_index/mod.rs:1241
↓ 7 callers
Method
iter_by_col_eq
( &'a self, tx: &'a Tx, table_id: impl Into<TableId>, cols: impl Into<ColList>
crates/engine/src/relational_db.rs:1396
↓ 7 callers
Function
iter_indexes
(table: &TableDef)
crates/codegen/src/util.rs:211
↓ 7 callers
Method
joined
(mut self, path: P)
crates/paths/src/utils.rs:5
↓ 7 callers
Method
json_or_error
(self)
crates/cli/src/util.rs:99
↓ 7 callers
Method
kind
Returns the [ColumnAttribute] of constraints as an enum variant. NOTE: This represent the higher possible representation of a constraints, so for exa
crates/primitives/src/attr.rs:127
↓ 7 callers
Method
label
(&mut self, name: &str)
crates/physical-plan/src/compile.rs:156
↓ 7 callers
Method
lookup_st_view_subs
Get all view subscriptions for a given view.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2678
↓ 7 callers
Function
makeHttpHandlerExport
( ctx: SchemaInner, opts: HttpHandlerOpts | undefined, fn: HandlerFn<S> )
crates/bindings-typescript/src/server/http_handlers.ts:352
↓ 7 callers
Function
make_row
(row: &[AlgebraicValue])
crates/cli/src/subcommands/sql.rs:298
↓ 7 callers
Function
name
()
crates/bindings-typescript/src/lib/autogen/types.ts:631
↓ 7 callers
Function
non_context_reserve_tokens_env
Static reserve for "non-context" content: (system + task/instructions + model output). Env precedence: 1) {OPENAI|ANTHROPIC|GOOGLE|XAI|DEEPSEEK|META}_
tools/xtask-llm-benchmark/src/llm/segmentation.rs:250
↓ 7 callers
Function
nsToMs
(deltaNs: bigint)
tools/llm-sequential-upgrade/perf-benchmark/src/metrics.ts:79
↓ 7 callers
Method
offset_of_variant_data
(&self, _variant_tag: u8)
crates/sats/src/layout.rs:881
↓ 7 callers
Method
open_segment_writer
(&self, offset: u64)
crates/commitlog/src/repo/fs.rs:294
↓ 7 callers
Function
parse_and_type_sql
(sql: &str, tx: &impl SchemaView, _auth: &AuthCtx)
crates/expr/src/statement.rs:453
↓ 7 callers
Function
parse_ident
Parse an identifier
crates/sql-parser/src/parser/mod.rs:342
↓ 7 callers
Function
parse_table_update
(raw_updates: __ws::v2::TableUpdate)
sdks/rust/tests/view-client/src/module_bindings/player_table.rs:166
↓ 7 callers
Method
pk_u_8
(&self)
sdks/rust/tests/test-client/src/module_bindings/pk_u_8_table.rs:32
↓ 7 callers
Function
pnpm
Runs a `pnpm` command and returns stdout as a string.
crates/smoketests/src/lib.rs:348
↓ 7 callers
Function
print_auto_generated_file_comment
(output: &mut Indenter)
crates/codegen/src/util.rs:66
↓ 7 callers
Function
project_fields
(events: Vec<Value>, view_name: &str, projected_fields: &[&str])
crates/smoketests/tests/smoketests/views.rs:190
↓ 7 callers
Function
prompt
()
templates/bun-ts/src/main.ts:94
↓ 7 callers
Method
public_columns
Returns the public columns of this table. The [`ColId`]s in this list do not necessarily correspond to their position in this list. Rather they corre
crates/schema/src/schema.rs:109
↓ 7 callers
Method
put
Registers `handler` to handle `PUT` requests at `path`. Panics if `self` already has a handler on this method at this path, including one registered
crates/bindings/src/http.rs:287
↓ 7 callers
Method
put_u32
Writes a `u32` to the buffer in little-endian (LE) encoding.
crates/sats/src/buffer.rs:93
↓ 7 callers
Method
queries_for_table_update
Find the queries that need to be evaluated for this table update. Note, this tries to prune irrelevant queries from the subscription. When is this b
crates/core/src/subscription/module_subscription_manager.rs:1300
↓ 7 callers
Function
readNumberEnv
( name: string, defaultValue: number, env: NodeJS.ProcessEnv = process.env, )
templates/keynote-2/src/config.ts:164
↓ 7 callers
Function
readStringEnv
( name: string, defaultValue: string, env: NodeJS.ProcessEnv = process.env, )
templates/keynote-2/src/config.ts:183
↓ 7 callers
Function
read_opt_str
(table: &toml_edit::Table, key: &str)
crates/cli/src/config.rs:81
↓ 7 callers
Method
record
(ms: number)
tools/llm-sequential-upgrade/perf-benchmark/src/metrics.ts:7
↓ 7 callers
Function
register_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
sdks/rust/tests/view-client/src/module_bindings/player_table.rs:159
↓ 7 callers
Method
replica_ctx
(&self)
crates/core/src/host/module_host.rs:3488
↓ 7 callers
Method
replica_ctx
(&self)
crates/core/src/host/wasm_common/module_host_actor.rs:442
↓ 7 callers
Function
requireMember
(ctx: any, canvasId: bigint)
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:1728
↓ 7 callers
Function
requireMembership
(ctx: any, roomId: bigint, identity: any)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/backend/spacetimedb/src/index.ts:78
↓ 7 callers
Method
resolve_identifier_with_case
Apply case conversion to an identifier.
crates/schema/src/def/validate/v9.rs:639
↓ 7 callers
Function
row_type
(row_ty: T)
crates/table/src/row_type_visitor.rs:516
↓ 7 callers
Function
run
(schema: ProductType, row: ProductValue)
crates/pg/src/encoder.rs:179
↓ 7 callers
Method
scheduled_table
(&self)
sdks/rust/tests/test-client/src/module_bindings/scheduled_table_table.rs:32
↓ 7 callers
Method
seek
(&mut self, pos: SeekFrom)
crates/fs-utils/src/compression.rs:135
↓ 7 callers
Method
sender_left_view
(&self)
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/sender_left_view_table.rs:32
↓ 7 callers
Function
setDisplayName
(displayName: string)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:55
↓ 7 callers
Method
setStatus
(message: string, state: 'pending' | 'connected' | 'error')
demo/Blackholio/client-ts/src/ui/StatusHud.ts:8
↓ 7 callers
Function
showSuccess
(text: string)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/client/src/App.tsx:342
↓ 7 callers
Method
spacetime_insert_domain
Creates a new domain which points to the database identity. For example: `my_domain/my_database` `my_company/my_team/my_product` A TLD itself is also
crates/standalone/src/control_db.rs:133
↓ 7 callers
Method
spawn_blocking
(&self, f: F)
crates/runtime/src/lib.rs:286
↓ 7 callers
Method
sync
Sync all OS-buffered writes to disk. Note that this does **not** write outstanding records to disk. Use [`Self::flush_and_sync`] or call [`Self::flus
crates/commitlog/src/lib.rs:272
↓ 7 callers
Method
sync_data
(&self)
crates/core/src/database_logger.rs:118
↓ 7 callers
Function
synchronize_snapshot
Given [`Snapshot`] metadata, obtained separately, fetches all objects referenced from it from a remote source `provider`, and stores them in the local
crates/snapshot/src/remote.rs:127
↓ 7 callers
Method
table_scan
Returns an iterator doing a full table scan on `table_id`.
crates/datastore/src/locking_tx_datastore/committed_state.rs:400
↓ 7 callers
Method
take
* @brief Take a buffer from the pool, or allocate a new one * * After warmup, this will typically reuse a pooled buffer * with 64 KiB
crates/bindings-cpp/include/spacetimedb/internal/buffer_pool.h:62
↓ 7 callers
Method
take_snapshot
(&self, repo: &DynSnapshotRepo)
crates/engine/src/relational_db.rs:2147
↓ 7 callers
Method
test_event
(&self)
sdks/rust/tests/event-table-client/src/module_bindings/test_event_table.rs:32
↓ 7 callers
Method
text
()
crates/bindings-typescript/src/server/http_handlers.ts:209
↓ 7 callers
Method
throughput
(&self)
crates/bench/src/bin/summarize.rs:315
↓ 7 callers
Method
toDate
* Get a `Date` representing approximately the same point in time as `this`. * * This method truncates to millisecond precision, * and throws
crates/bindings-typescript/src/lib/timestamp.ts:96
↓ 7 callers
Function
to_typed_row
(row: &ProductValue)
crates/datastore/src/system_tables.rs:139
↓ 7 callers
Method
to_u128
(&self)
crates/lib/src/connection_id.rs:64
↓ 7 callers
Method
to_u256
(self)
crates/sats/src/hash.rs:36
↓ 7 callers
Method
visit
(self, name: &str)
crates/sats/src/de/impls.rs:79
↓ 7 callers
Method
visit_borrowed
(self, borrowed_slice: &'de T)
crates/sats/src/de/impls.rs:328
↓ 7 callers
Function
visit_count
(row: &Bytes, visitor: &impl VarLenMembers)
crates/table/benches/var_len_visitor.rs:9
↓ 7 callers
Method
visit_var_len
# Safety `row` must be 2-byte aligned. `row` must be an allocation of at least `2n + 2` bytes, where `n` is the largest offset in `self`. All calle
crates/table/src/var_len.rs:454
↓ 7 callers
Method
with_read_only
Run a fallible function in a transaction. This is similar to `with_auto_commit`, but regardless of the return value of the fallible function, the tra
crates/engine/src/relational_db.rs:960
↓ 7 callers
Function
with_segment_context
(context: &'static str, repo: &R, offset: u64, source: io::Error)
crates/commitlog/src/repo/mod.rs:455
↓ 7 callers
Method
writeU8
(value: number)
crates/bindings-typescript/src/lib/binary_writer.ts:108
↓ 7 callers
Method
write_line
(&mut self, text: impl AsRef<str>)
crates/schema/src/auto_migrate/termcolor_formatter.rs:79
↓ 7 callers
Function
write_to_sink
Write `buf` to `sink`.
crates/bindings/src/rt.rs:1377
↓ 7 callers
Method
zero
Not a `const` because there doesn't seem to be any way to `const` construct an `enum_map::EnumMap`, which `CallTimes` uses.
crates/core/src/host/wasm_common/module_host_actor.rs:237
↓ 6 callers
Method
Add
(T listener)
sdks/csharp/src/EventHandling/EventListeners.cs:22
↓ 6 callers
Method
AddListener
(RowEventHandler listener)
sdks/csharp/src/Table.cs:568
↓ 6 callers
Method
AllViewPkPlayers
(ViewContext ctx)
sdks/csharp/examples~/regression-tests/server/Lib.cs:460
↓ 6 callers
Method
And
(BoolExpr<TRow> other)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:80
↓ 6 callers
Function
BigEndianBytesToDecimalString
Big-endian bytes -> decimal string (base-10) via repeated division by 10.
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/Types/LargeIntegers.h:28
↓ 6 callers
Method
Clear
<summary> Completely clear the multidictionary. </summary>
sdks/csharp/src/MultiDictionary.cs:91
↓ 6 callers
Method
GetConnectionId
sdks/unreal/tests/TestClient/Source/TestClient/Private/ModuleBindings/SpacetimeDBClient.g.cpp:258
↓ 6 callers
Method
GetTicks
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/MockCoreMinimal.h:174
↓ 6 callers
Method
Invoke
This one is not static because we need to be able to store IView in a list.
crates/bindings-csharp/Runtime/Internal/IView.cs:10
↓ 6 callers
Method
MakeSequence
(ushort colIndex)
crates/bindings-csharp/Runtime/Internal/ITable.cs:219
↓ 6 callers
Method
MarkSuccess
sdks/unreal/tests/TestViewPkClient/Source/TestViewPkClient/Private/Tests/TestCounter.cpp:13
↓ 6 callers
Function
Ok
sdks/unreal/tests/TestClient/Source/TestClient/Public/ModuleBindings/Results/TestClientResultInt32String.g.h:25
↓ 6 callers
Method
Parse
<summary> Parses a Roslyn AttributeData into a ColumnAttr instance. </summary> <param name="attrData">The attribute data to parse</param> <returns>A C
crates/bindings-csharp/Codegen/Module.cs:36
↓ 6 callers
Method
PostInitialize
sdks/unreal/tests/TestViewClient/Source/TestViewClient/Private/ModuleBindings/Tables/PlayerTable.g.cpp:10
↓ 6 callers
Method
PostInitialize
sdks/unreal/tests/TestViewPkClient/Source/TestViewPkClient/Private/ModuleBindings/Tables/ViewPkPlayerTable.g.cpp:10
↓ 6 callers
Method
PostInitialize
demo/Blackholio/client-unreal/Source/client_unreal/Private/ModuleBindings/Tables/FoodTable.g.cpp:10
↓ 6 callers
Method
QuoteIdent
(string ident)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:867
↓ 6 callers
Method
Register
sdks/unreal/tests/TestViewPkClient/Source/TestViewPkClient/Private/Tests/TestCounter.cpp:3
↓ 6 callers
Method
Remove
(T listener)
sdks/csharp/src/EventHandling/EventListeners.cs:28
↓ 6 callers
Method
RemoveListener
(RowEventHandler listener)
sdks/csharp/src/Table.cs:569
↓ 6 callers
Method
Reserve
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/MockCoreMinimal.h:45
↓ 6 callers
Function
Returned
-- Static constructors ----------------------
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/Connection/Callback.h:645
↓ 6 callers
Function
Serialize
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:862
↓ 6 callers
Method
StartSubscription
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Private/Connection/DbConnectionBase.cpp:664
↓ 6 callers
Method
Subscribe
sdks/unreal/tests/TestClient/Source/TestClient/Private/ModuleBindings/SpacetimeDBClient.g.cpp:15708
↓ 6 callers
Method
SubscriptionBuilder
sdks/unreal/tests/TestClient/Source/TestClient/Private/ModuleBindings/SpacetimeDBClient.g.cpp:250
↓ 6 callers
Method
ToListOrEmpty
(T? value)
crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module#FFI.verified.cs:3386
↓ 6 callers
Method
ToString
()
crates/bindings-csharp/BSATN.Codegen/Utils.cs:323
↓ 6 callers
Method
ViewPkMembership
()
sdks/csharp/examples~/regression-tests/client/module_bindings/SpacetimeDBClient.g.cs:664
← previous
next →
1,301–1,400 of 27,764, ranked by callers