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
↓ 39 callers
Method
with_type
Returns `ty` combined with the context `self`.
crates/sats/src/typespace.rs:113
↓ 38 callers
Method
eq
crates/bindings-cpp/include/spacetimedb/query_builder/expr.h:326
↓ 38 callers
Method
identity
()
crates/bindings-typescript/src/server/runtime.ts:261
↓ 38 callers
Method
is_empty
(&self)
crates/core/src/host/module_host.rs:94
↓ 38 callers
Method
newline
Writes a newline without setting the `needs_indenting` flag. TODO(cloutiertyler): I think it should set the flag, but I don't know if anyone is relyin
crates/codegen/src/code_indenter.rs:63
↓ 38 callers
Method
person
(&self)
templates/basic-rs/src/module_bindings/person_table.rs:32
↓ 38 callers
Method
retain
(key: string, builder: MockBuilder)
crates/bindings-typescript/tests/connection_manager.test.ts:195
↓ 38 callers
Method
success
(self)
crates/durability/tests/io/fallocate.rs:268
↓ 38 callers
Function
u32_str_u32
(a: u32, b: &str, c: u32)
crates/datastore/src/locking_tx_datastore/datastore.rs:1130
↓ 37 callers
Method
as_str
(self)
tools/xtask-llm-benchmark/src/eval/lang.rs:11
↓ 37 callers
Method
build
crates/bindings-cpp/include/spacetimedb/query_builder/table.h:121
↓ 37 callers
Method
create_table
(&self, tx: &mut MutTx, schema: TableSchema)
crates/engine/src/relational_db.rs:1138
↓ 37 callers
Method
data
Returns the data from the var-len object in this granule.
crates/table/src/var_len.rs:288
↓ 37 callers
Function
get
crates/bindings-cpp/include/spacetimedb/abi/opaque_types.h:42
↓ 37 callers
Function
option
()
crates/sats/src/algebraic_type.rs:560
↓ 37 callers
Method
player
(&self)
sdks/rust/tests/view-client/src/module_bindings/player_table.rs:32
↓ 37 callers
Method
sql
(&self)
crates/cli/src/api.rs:59
↓ 36 callers
Method
Add
(string name, object? value = null)
sdks/csharp/tests~/SnapshotTests.cs:26
↓ 36 callers
Method
Equals
(MultiDictionary<TKey, TValue> other)
sdks/csharp/src/MultiDictionary.cs:152
↓ 36 callers
Method
flush
Write all outstanding transaction records to disk. Note that this does **not** force the OS to sync the data to disk. Use [`Self::flush_and_sync`] or
crates/commitlog/src/lib.rs:290
↓ 36 callers
Method
getBuffer
()
crates/bindings-typescript/src/lib/binary_writer.ts:66
↓ 36 callers
Method
identity
(&self)
crates/bindings/src/lib.rs:1098
↓ 36 callers
Method
into_iter
(self)
crates/sats/src/array_value.rs:223
↓ 36 callers
Method
warn
(&self, msg: &str)
crates/core/src/database_logger.rs:664
↓ 35 callers
Method
Find
Return the row (if any) matching Key wrapped in TOptional. */
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/DBCache/UniqueConstraintHandle.h:22
↓ 35 callers
Method
Neq
(SqlLiteral<TValue> value)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:142
↓ 35 callers
Method
add_view
( &mut self, name: impl Into<RawIdentifier>, index: usize, is_public: bool,
crates/lib/src/db/raw_def/v9.rs:790
↓ 35 callers
Method
build
(self)
crates/testing/src/sdk.rs:449
↓ 35 callers
Method
expect_rows
(mut self, expected_rows: usize)
crates/smoketests/src/lib.rs:671
↓ 35 callers
Function
fmt
(v)
templates/keynote-2/scripts/bench-stats.py:115
↓ 35 callers
Method
into_iter
(self)
crates/client-api-messages/src/websocket/common.rs:167
↓ 35 callers
Method
load
(home_path: CliTomlPath)
crates/cli/src/config.rs:626
↓ 35 callers
Function
mkOperation
( type: 'insert' | 'delete', row: Infer<typeof UnindexedPlayer> )
crates/bindings-typescript/tests/table_cache.test.ts:105
↓ 35 callers
Method
write
(&self, path: &MetadataTomlPath)
crates/core/src/config.rs:61
↓ 34 callers
Function
bindCall
( f: F )
crates/bindings-typescript/src/lib/algebraic_type.ts:248
↓ 34 callers
Method
columns
Get the columns of the index.
crates/schema/src/def.rs:1062
↓ 34 callers
Method
owner_identity
(&self)
crates/engine/src/relational_db.rs:665
↓ 34 callers
Method
size
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/size_calculator.h:27
↓ 34 callers
Method
subscriptionBuilder
* Creates a new subscription builder. * * @returns The subscription builder.
crates/bindings-typescript/src/sdk/db_context.ts:22
↓ 34 callers
Method
with_index
Generates a [RawIndexDefV9] using the supplied `columns`.
crates/lib/src/db/raw_def/v9.rs:940
↓ 33 callers
Function
ExpectEq
crates/bindings-cpp/tests/query-builder-sql/query_builder_sql_tests.cpp:205
↓ 33 callers
Method
add_reducer
(&mut self, reducer: ReducerDef)
crates/lib/src/lib.rs:232
↓ 33 callers
Function
build
TODO: Replace the returned `&'static str` with a copy of `HostType` from core.
crates/cli/src/tasks/mod.rs:13
↓ 33 callers
Method
clientConnected
( ...args: [Reducer<S, {}>] | [ReducerOpts, Reducer<S, {}>] )
crates/bindings-typescript/src/server/schema.ts:344
↓ 33 callers
Function
makeQueryBuilder
( schema: SchemaDef )
crates/bindings-typescript/src/lib/query.ts:325
↓ 33 callers
Method
parse
(input: TokenStream, struct_ident: &Ident)
crates/bindings-macro/src/table.rs:78
↓ 33 callers
Function
serialize_to_js
Serializes `value` into a V8 into `scope`.
crates/core/src/host/v8/ser.rs:17
↓ 33 callers
Function
setup_table
()
crates/datastore/src/locking_tx_datastore/datastore.rs:1409
↓ 33 callers
Method
some
Helper static methods for clarity
crates/bindings-cpp/include/spacetimedb/bsatn/types.h:101
↓ 33 callers
Function
vec
(x: number, y: number)
demo/Blackholio/server-ts/src/math.ts:10
↓ 32 callers
Method
builder
Builder-pattern constructor for a connection to a remote module. See [`__sdk::DbConnectionBuilder`] for required and optional configuration for the n
templates/basic-rs/src/module_bindings/mod.rs:252
↓ 32 callers
Function
empty
(g: &mut Group, db: &mut DB)
crates/bench/benches/generic.rs:144
↓ 32 callers
Method
iter_by_col_eq
( &self, table_id: TableId, cols: impl Into<ColList>, value: &'r AlgebraicValu
crates/datastore/src/locking_tx_datastore/mut_tx.rs:3417
↓ 32 callers
Method
keys
Returns an iterator over all the keys in the map.
crates/data-structures/src/small_map.rs:152
↓ 32 callers
Method
on_applied
Register a callback to run when the subscription is applied.
sdks/rust/src/subscription.rs:165
↓ 32 callers
Method
on_error
Register a callback to run when the subscription fails. Note that this callback may run either when attempting to apply the subscription, in which ca
sdks/rust/src/subscription.rs:176
↓ 32 callers
Method
read_col
(self, col: impl Into<ColId>)
crates/table/src/table.rs:1806
↓ 32 callers
Method
request
( path: string, options: RequestInit = {} )
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:24
↓ 31 callers
Method
Failure
(Exception error)
sdks/csharp/src/ProcedureCallbacks.cs:18
↓ 31 callers
Method
as_ref
(&self)
crates/schema/src/table_name.rs:34
↓ 31 callers
Method
clientDisconnected
( ...args: [Reducer<S, {}>] | [ReducerOpts, Reducer<S, {}>] )
crates/bindings-typescript/src/server/schema.ts:381
↓ 31 callers
Function
fetch
(req)
templates/keynote-2/bun/bun-server.ts:246
↓ 31 callers
Function
get
()
crates/core/src/host/v8/builtins/delete_math_random.js:5
↓ 31 callers
Method
next
(&mut self)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2357
↓ 31 callers
Function
to_writer
(w: &mut W, value: &T)
crates/sats/src/bsatn.rs:23
↓ 30 callers
Method
background
(self)
crates/smoketests/src/lib.rs:700
↓ 30 callers
Function
client_id_from_u8
Create an [ClientActorId] from a [u8]. Calls [identity_from_u8] internally with the passed value.
crates/core/src/subscription/module_subscription_actor.rs:2162
↓ 30 callers
Method
delete_by_key
crates/bindings-cpp/include/spacetimedb/table_with_constraints.h:402
↓ 30 callers
Method
delimited_block
Print an indented block delimited by `before` and `after`, with body written by `f`.
crates/codegen/src/code_indenter.rs:68
↓ 30 callers
Method
execute
( &self, tx: &mut Tx, params: &impl ParamResolver, metrics: &mut ExecutionMetr
crates/execution/src/dml.rs:34
↓ 30 callers
Function
ident
(s: &str, casing: Casing)
tools/xtask-llm-benchmark/src/eval/sql_fmt.rs:33
↓ 30 callers
Method
into_owned
(self)
crates/table/src/table_index/mod.rs:348
↓ 30 callers
Method
onDisconnect
( cb: (ctx: ErrorContextInterface, error?: Error) => void )
crates/bindings-typescript/tests/connection_manager.test.ts:146
↓ 30 callers
Function
request
( endpoint: string, options: RequestInit = {} )
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-160000/client/src/api.ts:7
↓ 30 callers
Method
size
crates/bindings-cpp/include/spacetimedb/bsatn/size_calculator.h:27
↓ 30 callers
Method
sum
Returns a sum type with the given `sum`.
crates/sats/src/algebraic_type.rs:311
↓ 30 callers
Function
table
( opts: Opts, row: Row | RowBuilder<Row>, // ⚠️ INTERNAL: This parameter enforces compile-time validatio
crates/bindings-typescript/src/lib/table.ts:319
↓ 30 callers
Method
time
crates/bindings-cpp/include/spacetimedb/bsatn/schedule_at.h:139
↓ 30 callers
Method
typespace_for_generate
The typespace of the module from a different perspective, one useful for client code generation.
crates/schema/src/def.rs:310
↓ 30 callers
Method
view
Convenience method to look up a view, possibly by a string.
crates/schema/src/def.rs:341
↓ 29 callers
Function
SubscribeAllThen
sdks/unreal/tests/TestClient/Source/TestClient/Private/Tests/CommonTestFunctions.cpp:152
↓ 29 callers
Method
Success
(T value)
sdks/csharp/src/ProcedureCallbacks.cs:17
↓ 29 callers
Method
entries
Obtain an iterator over the entries of the index.
crates/commitlog/src/index/indexfile.rs:252
↓ 29 callers
Method
into_inner
(mut self)
crates/codegen/src/csharp.rs:1373
↓ 29 callers
Method
key
(&self)
crates/schema/src/def.rs:1917
↓ 29 callers
Method
len
Number of bytes written to this segment, including the header.
crates/commitlog/src/segment.rs:211
↓ 29 callers
Function
request
( endpoint: string, options: RequestInit = {} )
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-120000/client/src/api.ts:7
↓ 29 callers
Method
resolve
(value: T)
crates/bindings-typescript/tests/db_connection.test.ts:52
↓ 29 callers
Method
toISOString
* Get an ISO 8601 / RFC 3339 formatted string representation of this timestamp with microsecond precision. * * This method preserves the full mi
crates/bindings-typescript/src/lib/timestamp.ts:118
↓ 29 callers
Method
write_u8
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:44
↓ 28 callers
Method
Add
(ReducerContext ctx, string name)
templates/basic-cs/spacetimedb/Lib.cs:11
↓ 28 callers
Method
GetAlgebraicType
( SpacetimeDB.BSATN.ITypeRegistrar registrar )
crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module#Player.verified.cs:41
↓ 28 callers
Method
GetHashCode
([DisallowNull] IEnumerable<T> obj)
crates/bindings-csharp/BSATN.Runtime.Tests/Tests.cs:662
↓ 28 callers
Method
InternalCallProcedure
( TArgs args, ProcedureCallback<TReturn> callback)
sdks/csharp/src/SpacetimeDBClient.cs:125
↓ 28 callers
Method
IsValid
* Check if this is a valid (non-nil) UUID. */
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/Types/Builtins.h:319
↓ 28 callers
Method
Read
(System.IO.BinaryReader reader)
crates/bindings-csharp/Codegen.Tests/fixtures/server/snapshots/Module#PublicTable.verified.cs:117
↓ 28 callers
Method
Write
(System.IO.BinaryWriter writer, PublicTable value)
crates/bindings-csharp/Codegen.Tests/fixtures/server/snapshots/Module#PublicTable.verified.cs:124
↓ 28 callers
Function
algebraic_type
crates/bindings-cpp/include/spacetimedb/macros.h:911
↓ 28 callers
Function
commit_tx
Commit a set of row updates and broadcast to subscribers
crates/core/src/subscription/module_subscription_actor.rs:2704
↓ 28 callers
Method
exec
(sql: string, params?: unknown[])
templates/keynote-2/src/core/connectors.ts:15
← previous
next →
301–400 of 27,764, ranked by callers