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
↓ 8 callers
Method
spacetimedb_token
(&self)
crates/cli/src/config.rs:830
↓ 8 callers
Method
stdin
(mut self, stdin_input: impl Into<String>)
crates/smoketests/src/lib.rs:567
↓ 8 callers
Method
storage
Returns the backing `[B]` slice for shared access.
crates/table/src/fixed_bit_set.rs:131
↓ 8 callers
Method
subscribe
(key: string, listener: Listener)
crates/bindings-typescript/tests/connection_manager.test.ts:285
↓ 8 callers
Method
summary
()
tools/llm-sequential-upgrade/perf-benchmark/src/metrics.ts:15
↓ 8 callers
Method
sync_all
Sync all objects in the snapshot and write out the snapshot file. Returns the [SnapshotDirPath] on success.
crates/snapshot/src/lib.rs:217
↓ 8 callers
Function
table_id_is_reserved
Is `table_id` reserved as a system table?
crates/datastore/src/system_tables.rs:129
↓ 8 callers
Method
tail
(&self, n: u32)
crates/core/src/database_logger.rs:95
↓ 8 callers
Method
take
(&mut self, handle: I)
crates/core/src/host/wasm_common.rs:331
↓ 8 callers
Method
to_bsatn_vec
(&self)
crates/sats/src/bsatn.rs:178
↓ 8 callers
Method
u128
crates/bindings-cpp/include/spacetimedb/bsatn/types.h:127
↓ 8 callers
Method
u256
crates/bindings-cpp/include/spacetimedb/bsatn/types.h:281
↓ 8 callers
Method
unique_columns
If this is a unique constraint, returns the columns that must be unique. Otherwise, returns `None`.
crates/schema/src/def.rs:1336
↓ 8 callers
Method
unzip
Convenience to deconstruct an [Option<Self>] into parts. Returns `(Some(durability), Some(disk_size), Option<SnapshotWorker>, Some(runtime))` if `thi
crates/engine/src/persistence.rs:163
↓ 8 callers
Method
upgrade
(&self)
crates/core/src/host/module_host.rs:3504
↓ 8 callers
Method
variant
(mut self, visitor: V)
crates/sats/src/de/serde.rs:327
↓ 8 callers
Method
visit
(self, vec: A)
crates/sats/src/de.rs:798
↓ 8 callers
Method
visit_owned
(self, buf: T::Owned)
crates/sats/src/de/impls.rs:283
↓ 8 callers
Method
with_module_async
(&self, config: Config, routine: R)
crates/testing/src/modules.rs:223
↓ 8 callers
Method
with_mut_schema_and_clone
Runs a mutation on the [`TableSchema`] of this table and then sets the schema of `other` to that of `self`.
crates/table/src/table.rs:1409
↓ 8 callers
Method
write_colored_line
(&mut self, text: &str, color: Option<Color>, bold: bool)
crates/schema/src/auto_migrate/termcolor_formatter.rs:99
↓ 8 callers
Method
write_u32_le
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:49
↓ 8 callers
Method
write_u64_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:50
↓ 8 callers
Method
write_u8
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:44
↓ 7 callers
Method
Apply
<summary> Apply a delta to the table. Should not invoke any user callbacks, since not all tables have been updated yet. Should fix up indices, to be r
sdks/csharp/src/Table.cs:75
↓ 7 callers
Method
Compile
(string name)
crates/bindings-csharp/Codegen.Tests/Tests.cs:42
↓ 7 callers
Method
Equals
(Player that)
crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module#Player.verified.cs:63
↓ 7 callers
Function
Failed
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/Connection/Callback.h:113
↓ 7 callers
Method
InsertPkU32
sdks/unreal/tests/TestClient/Source/TestClient/Private/ModuleBindings/SpacetimeDBClient.g.cpp:9365
↓ 7 callers
Method
MarkFailure
sdks/unreal/tests/TestViewClient/Source/TestViewClient/Private/Tests/TestCounter.cpp:20
↓ 7 callers
Function
Method
()
crates/bindings-typescript/src/lib/autogen/types.ts:164
↓ 7 callers
Function
NextViewPkId
()
sdks/csharp/examples~/regression-tests/client/Program.cs:32
↓ 7 callers
Method
ParseRowList
<summary> Prepare to read a BsatnRowList. This could return an IEnumerable, but we return the reader and row count directly to avoid an allocation. I
sdks/csharp/src/CompressionHelpers.cs:98
↓ 7 callers
Method
Read
(byte[] buffer, int offset, int count)
sdks/csharp/src/ListStream.cs:37
↓ 7 callers
Method
ReducerResult
( uint RequestId, SpacetimeDB.Timestamp Timestamp, ReducerOutcome Result
sdks/csharp/src/SpacetimeDB/ClientApi/ReducerResult.g.cs:23
↓ 7 callers
Function
RowOffsets
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/ModuleBindings/Types/RowSizeHintType.g.h:38
↓ 7 callers
Method
SetCache
demo/Blackholio/client-unreal/Source/client_unreal/Public/ModuleBindings/Tables/CircleTable.g.h:71
↓ 7 callers
Method
Update
()
demo/Blackholio/client-unity/Assets/Scripts/EntityController.cs:66
↓ 7 callers
Function
WriteBytes
Helper to write bytes to a BytesSink
crates/bindings-cpp/src/internal/Module.cpp:452
↓ 7 callers
Method
add_http_handler
Add an HTTP handler to the module.
crates/lib/src/db/raw_def/v10.rs:1196
↓ 7 callers
Method
add_procedure
Add a procedure to the in-progress module. Accepts a `ProductType` of arguments. The arguments `ProductType` need not be registered in the typespace.
crates/lib/src/db/raw_def/v9.rs:775
↓ 7 callers
Method
add_type_for_tests
(&mut self, name: &str, ty: AlgebraicType)
crates/lib/src/lib.rs:196
↓ 7 callers
Method
as_value
(&self)
crates/sats/src/sum_type.rs:270
↓ 7 callers
Function
assert_join_probe
(join: &super::IxJoin, rhs_col: ColId, lhs_field_pos: usize)
crates/physical-plan/src/plan.rs:1709
↓ 7 callers
Method
assert_ref_count_consistency
(&self)
crates/core/src/subscription/module_subscription_manager.rs:182
↓ 7 callers
Function
bad_request
(message: Cow<'static, str>)
crates/client-api/src/routes/database.rs:1212
↓ 7 callers
Method
base_plan
The cached executor for the non-incremental query plan.
crates/subscription/src/lib.rs:483
↓ 7 callers
Function
bench_custom
(g: &mut BenchmarkGroup<'_, WallTime>, name: &str, run: impl Fn(u64) -> Duration)
crates/bench/benches/delete_table.rs:47
↓ 7 callers
Function
check_config
(input: &str, output: &str, f: F)
crates/cli/src/config.rs:964
↓ 7 callers
Function
check_output
( schema: ProductType, rows: Vec<&RawValue>, stats: SqlStmtStats, duration: Op
crates/cli/src/subcommands/sql.rs:318
↓ 7 callers
Function
client_with_confirmed_reads
( offset_supply: impl DurableOffsetSupply + 'static, )
crates/core/src/client/client_connection.rs:1359
↓ 7 callers
Function
create_and_fill_index
Create and fill index file with key as first `fill_till - 1` even numbers
crates/commitlog/src/index/indexfile.rs:380
↓ 7 callers
Function
create_segment_writer
Create a new segment [`Writer`] with `offset`. Immediately attempts to write the segment header with the supplied `log_format_version`. If the segme
crates/commitlog/src/repo/mod.rs:231
↓ 7 callers
Method
create_view
( &self, tx: &mut MutTx, module_def: &ModuleDef, view_def: &ViewDef, )
crates/engine/src/relational_db.rs:1155
↓ 7 callers
Function
create_view_for_test
Allocate a backing table in the datastore for a view
crates/engine/src/relational_db.rs:2191
↓ 7 callers
Function
csharp_http_test
(name: &str, module_code: &str)
crates/smoketests/tests/smoketests/http_routes.rs:1121
↓ 7 callers
Function
cvt
Convert the status value `x` into a result. When `x = 0`, we have a success status.
crates/bindings-sys/src/lib.rs:1040
↓ 7 callers
Method
database_identity
Returns the identity for this database
crates/engine/src/relational_db.rs:661
↓ 7 callers
Method
datastore_delete_by_index_scan_point_bsatn
( IndexId index_id, ReadOnlySpan<byte> point, uint point_len, out uint out_
crates/bindings-csharp/Runtime/Internal/FFI.cs:224
↓ 7 callers
Method
decode
(reader: &mut &[u8])
crates/bindings/src/table.rs:1332
↓ 7 callers
Function
decode_header_error
(e: DecodeError, field: &str)
crates/commitlog/src/commit.rs:394
↓ 7 callers
Function
decode_identity
(token: &String)
crates/cli/src/util.rs:323
↓ 7 callers
Function
delete
( tx_state: &mut TxState, committed_state: &CommittedState, table_id: TableId, row_pointer: Ro
crates/datastore/src/locking_tx_datastore/mut_tx.rs:3298
↓ 7 callers
Method
deserialize_len
Reads a length as a `u32` then converted to `usize`.
crates/sats/src/bsatn/de.rs:24
↓ 7 callers
Function
determine_publish_configs
( database_name: Option<String>, spacetime_config: Option<&SpacetimeConfig>, publish_cmd: &Command
crates/cli/src/subcommands/dev.rs:909
↓ 7 callers
Function
deterministic_trim_prefix
Tail-trim `prefix` to `allowance_tokens` deterministically. Does NOT look at system/segments; stable bytes across calls.
tools/xtask-llm-benchmark/src/llm/segmentation.rs:218
↓ 7 callers
Function
encodeUser
(value: Infer<typeof UserRow>)
crates/bindings-typescript/tests/utils.ts:25
↓ 7 callers
Function
eq_bsatn_seq
Equates elements in `lhs` to the BSATN-encoded element sequence in `rhs`. The sequence is prefixed with its length.
crates/sats/src/bsatn/eq.rs:103
↓ 7 callers
Method
expect_contains
Expect that this module definition contains a definition.
crates/schema/src/def.rs:453
↓ 7 callers
Function
expose
(ptr: RowPointer)
crates/table/src/table_index/unique_direct_index.rs:125
↓ 7 callers
Method
find
(plan: &PhysicalPlan, labels: &mut Vec<Label>)
crates/physical-plan/src/plan.rs:1029
↓ 7 callers
Function
fmt_fn
Turns a closure `F: Fn(&mut Formatter) -> Result` into a `Display`able object.
crates/sats/src/de.rs:280
↓ 7 callers
Method
ftruncate
(&mut self, tx_offset: u64, size: u64)
crates/commitlog/src/repo/fs.rs:148
↓ 7 callers
Method
get
TODO(perf, deep-integration): Make this method `unsafe`. Add the following to the docs: # Safety `pointer` must refer to a row within the table at `
crates/datastore/src/locking_tx_datastore/committed_state.rs:436
↓ 7 callers
Function
getUnreadCount
(roomId: bigint)
tools/llm-oneshot/apps/chat-app/typescript/grok-code/spacetime/chat-app-20260107-120000/client/src/components/Sidebar.tsx:39
↓ 7 callers
Method
get_database_by_identity
(&self, database_identity: &Identity)
crates/standalone/src/lib.rs:226
↓ 7 callers
Method
get_or_insert
Returns either the existing value for `key` or inserts into `key` using `or_insert`.
crates/data-structures/src/small_map.rs:70
↓ 7 callers
Method
get_table_callbacks
Get the [`TableCallbacks`] for the table `table_name`.
sdks/rust/src/callbacks.rs:68
↓ 7 callers
Method
gt
crates/bindings-cpp/include/spacetimedb/query_builder/expr.h:338
↓ 7 callers
Method
has_label
Does this plan introduce this label?
crates/physical-plan/src/plan.rs:995
↓ 7 callers
Method
has_space_for_row
Does the page have space to store a row, where the fixed size part is `fixed_row_size` bytes large, and the variable part requires `num_granules`.
crates/table/src/page.rs:1348
↓ 7 callers
Method
has_unique
Checks if the 'UNIQUE' constraint is set.
crates/primitives/src/attr.rs:107
↓ 7 callers
Method
hash
(&self)
crates/snapshot/src/remote.rs:643
↓ 7 callers
Function
hash_bsatn_seq
Hashes elements in the BSATN-encoded element sequence. The sequence is prefixed with its length and the hash will as well.
crates/sats/src/algebraic_value_hash.rs:196
↓ 7 callers
Function
http
(path: string, init?: RequestInit)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/api.ts:16
↓ 7 callers
Method
httpHandler
( ...args: [HandlerFn<S>] | [HttpHandlerOpts, HandlerFn<S>] )
crates/bindings-typescript/src/server/schema.ts:524
↓ 7 callers
Function
identity
()
crates/bindings-sys/src/lib.rs:1465
↓ 7 callers
Function
identityEq
(a: Identity, b: Identity)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/spacetime/chat-app-20260107-092240/client/src/App.tsx:15
↓ 7 callers
Function
insert_u64
(page: &mut Page, val: u64)
crates/table/src/page.rs:2018
↓ 7 callers
Function
insert_view_row
(stdb: &TestDB, view_id: ViewId, table_id: TableId, sender: Identity, v: u8)
crates/engine/src/relational_db.rs:2476
↓ 7 callers
Method
into_iter
(self)
crates/sats/src/product_type.rs:336
↓ 7 callers
Method
into_range_error
Converts the error to a [`RangeError<String>`].
crates/core/src/host/v8/error.rs:88
↓ 7 callers
Method
into_sql
crates/bindings-cpp/include/spacetimedb/query_builder/table.h:130
↓ 7 callers
Method
into_string
(self, scope: &PinScope<'scope, '_>)
crates/core/src/host/v8/string.rs:14
↓ 7 callers
Method
is_anonymous_view
Is this schema that of an anonymous view?
crates/schema/src/schema.rs:92
↓ 7 callers
Method
is_connection_id
Returns whether this is the special case of `spacetimedb_lib::ConnectionId`. Does not follow `Ref`s.
crates/sats/src/product_type.rs:113
↓ 7 callers
Method
is_empty
Copied from `RangeBounds::is_empty` as it's unstable. TODO(centril): replace once stable.
crates/table/src/table_index/mod.rs:1679
↓ 7 callers
Method
is_large_blob
(self)
crates/table/src/var_len.rs:74
↓ 7 callers
Method
is_null
(self)
crates/table/src/var_len.rs:98
↓ 7 callers
Function
is_ok
Helper functions
crates/bindings-cpp/include/spacetimedb/abi/opaque_types.h:153
← previous
next →
1,201–1,300 of 27,764, ranked by callers