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,195 callers
Function
new
(s: &str)
crates/schema/src/identifier.rs:136
↓ 3,242 callers
Function
Ok
Ok() for void
crates/bindings-cpp/include/spacetimedb/outcome.h:109
↓ 2,532 callers
Method
unwrap
Unwrap the outer projection, returning the inner expression
crates/expr/src/expr.rs:57
↓ 1,826 callers
Method
map
Maps the object we've wrapped from `&T -> &U` in our context. This can be used to e.g., project fields and through a structure. This provides an impl
crates/sats/src/lib.rs:262
↓ 1,634 callers
Method
insert
* Insert and return the inserted row (auto-increment fields filled). * * May throw on error: * * If there are any unique or primary key colum
crates/bindings-typescript/src/lib/table.ts:267
↓ 1,349 callers
Function
GENERATED_BODY
sdks/unreal/tests/TestClient/Source/TestClient/Public/Tests/TestHandler.h:38
↓ 1,282 callers
Method
iter
Iterate over all rows in the TX state. Rust Iterator<Item=Row> → TS IterableIterator<Row>.
crates/bindings-typescript/src/lib/table.ts:251
↓ 1,018 callers
Method
to_string
* Convert UUID to standard string representation. * * Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (lowercase hex) * * @return U
crates/bindings-cpp/include/spacetimedb/bsatn/uuid.h:289
↓ 877 callers
Method
filter
( point: IndexVal<TableDef, I> )
crates/bindings-typescript/src/lib/indexes.ts:136
↓ 876 callers
Method
toHexString
Convert to hex string without a 0x prefix.
crates/bindings-typescript/src/lib/uuid.ts:231
↓ 798 callers
Function
Err
Err() for void
crates/bindings-cpp/include/spacetimedb/outcome.h:114
↓ 747 callers
Method
join
(self, with: Self)
crates/execution/src/lib.rs:324
↓ 742 callers
Method
string
Converts the string to a V8 string.
crates/core/src/host/v8/string.rs:41
↓ 628 callers
Function
eq
( key: Column, value: Value )
crates/bindings-typescript/src/lib/filter.ts:12
↓ 577 callers
Method
clone
(&self)
sdks/rust/src/client_cache.rs:420
↓ 577 callers
Method
clone
(&self)
crates/core/src/util/jobs.rs:294
↓ 513 callers
Method
json
Parses the body as JSON.
crates/smoketests/src/lib.rs:487
↓ 507 callers
Method
delete
(point: IndexVal<TableDef, I>)
crates/bindings-typescript/src/lib/indexes.ts:149
↓ 485 callers
Method
clone
()
crates/bindings-typescript/src/sdk/version.ts:84
↓ 484 callers
Method
where
( predicate: (row: RowExpr<TableDef>) => PredicateExpr<TableDef> )
crates/bindings-typescript/src/lib/query.ts:171
↓ 480 callers
Method
find
Find the subscribed row whose `identity` column value is equal to `col_val`, if such a row is present in the client cache.
templates/chat-console-rs/src/module_bindings/user_table.rs:123
↓ 476 callers
Method
reducer
Convenience method to look up a reducer, possibly by a string.
crates/schema/src/def.rs:353
↓ 442 callers
Method
append
(&mut self, mut other: TableUpdate<Row>)
sdks/rust/src/spacetime_module.rs:242
↓ 402 callers
Method
push
Adds a constraint to the existing constraints. # Example ``` use spacetimedb_primitives::Constraints; let constraints = Constraints::unset().push(C
crates/primitives/src/attr.rs:215
↓ 380 callers
Method
primaryKey
* Specify this column as primary key * @remarks Cannot be combined with `default()`.
crates/bindings-typescript/src/lib/type_builders.ts:256
↓ 372 callers
Method
collect
Wait for the subscription to complete and return the updates.
crates/smoketests/src/lib.rs:1886
↓ 366 callers
Method
status
()
crates/bindings-typescript/src/server/http_shared.ts:135
↓ 356 callers
Method
clone
(&self)
crates/schema/src/def/deserialize.rs:21
↓ 338 callers
Method
update
( &self, database: Database, host_type: HostType, program_bytes: Box<[u8]>,
crates/client-api/src/lib.rs:196
↓ 322 callers
Method
from
(args: AddArgs)
templates/basic-rs/src/module_bindings/add_reducer.rs:14
↓ 321 callers
Method
log
(&self, record: &log::Record)
crates/bindings/src/logger.rs:48
↓ 320 callers
Method
get
Registers `handler` to handle `GET` requests at `path`. Panics if `self` already has a handler on this method at this path, including one registered
crates/bindings/src/http.rs:254
↓ 306 callers
Method
select
(&self, protocols: impl IntoIterator<Item = (S, P)>)
crates/client-api/src/util/websocket.rs:40
↓ 301 callers
Function
to_vec
Serialize `value` into a `Vec<u8>` in the BSATN format.
crates/sats/src/bsatn.rs:28
↓ 300 callers
Function
table
Create a `Table` from a `ProductType` without validation.
crates/table/src/table.rs:2473
↓ 297 callers
Method
Get
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/MockCoreMinimal.h:32
↓ 292 callers
Method
count
* Returns the number of rows in this table. * * This reads datastore metadata, so it runs in constant time. * It also takes into account modi
crates/bindings-typescript/src/lib/table.ts:248
↓ 289 callers
Method
RegisterPendingTypedReducer
sdks/unreal/tests/TestClient/Source/TestClient/Private/ModuleBindings/SpacetimeDBClient.g.cpp:13862
↓ 286 callers
Method
name
* Specify the in-database name for this column.
crates/bindings-typescript/src/lib/type_builders.ts:421
↓ 275 callers
Method
Insert
(T row)
crates/bindings-csharp/Runtime/Internal/ITable.cs:155
↓ 274 callers
Method
clone
(&self)
crates/core/src/subscription/module_subscription_manager.rs:583
↓ 271 callers
Method
on
(event: Key, callback: Callback)
crates/bindings-typescript/src/sdk/event_emitter.ts:5
↓ 267 callers
Method
error
(&self, msg: &str)
crates/core/src/database_logger.rs:668
↓ 267 callers
Function
set
( x: T, t: { [k in F]: V } )
crates/bindings-typescript/src/lib/type_util.ts:34
↓ 266 callers
Method
into_sql
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/table.h:132
↓ 261 callers
Method
Add
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/MockCoreMinimal.h:43
↓ 245 callers
Method
IsEmpty
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/DBCache/TableAppliedDiff.h:25
↓ 232 callers
Function
serialize
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:157
↓ 231 callers
Method
emit
(event: Key, ...args: any[])
crates/bindings-typescript/src/sdk/event_emitter.ts:22
↓ 229 callers
Method
identity
Get a handle on the `identity` unique index on the table `user`.
templates/chat-console-rs/src/module_bindings/user_table.rs:112
↓ 226 callers
Method
invoke_reducer_with_callback
Called by autogenerated reducer invocation methods.
sdks/rust/src/db_connection.rs:747
↓ 223 callers
Method
Assert
(bool condition, string message)
demo/Blackholio/client-godot/tests/GodotPlayModeTests.cs:288
↓ 217 callers
Function
Ok
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/sum_type.h:169
↓ 213 callers
Method
path
(&self)
crates/testing/src/modules.rs:201
↓ 208 callers
Method
as_ref
crates/bindings-cpp/include/spacetimedb/bsatn/algebraic_type.h:313
↓ 204 callers
Method
push_back
(&mut self, value: T)
crates/core/src/client/client_connection.rs:570
↓ 202 callers
Method
unwrap_or
* @brief Get the success value or a default value. * @param default_value The value to return if this is err * @return The success value if
crates/bindings-cpp/include/spacetimedb/bsatn/result.h:170
↓ 199 callers
Method
len
(self)
crates/sats/src/layout.rs:60
↓ 185 callers
Method
add_test
( self: &Arc<Self>, test_name: impl Into<String> + Clone + std::fmt::Display + Send + 'static,
sdks/rust/tests/test-counter/src/lib.rs:73
↓ 185 callers
Method
try_into
(self)
crates/auth/src/identity.rs:100
↓ 181 callers
Method
clone
(&self)
crates/sats/src/lib.rs:120
↓ 178 callers
Method
call
(name: string, args?: Record<string, any>)
templates/keynote-2/src/core/connectors.ts:26
↓ 177 callers
Method
find
(&self, col_val: impl Borrow<Col::ColType>)
crates/bindings/src/table.rs:351
↓ 175 callers
Method
autoInc
* Specify this column as auto-incrementing * @remarks Cannot be combined with `default()`.
crates/bindings-typescript/src/lib/type_builders.ts:351
↓ 170 callers
Method
ok
* @brief Create a successful Result containing a value. * @param value The success value (moved into the Result) * @return A Result in the o
crates/bindings-cpp/include/spacetimedb/bsatn/result.h:56
↓ 167 callers
Function
and
( first: BooleanExpr<Table>, second: BooleanExpr<OtherTable> & RequireSameAndOrTable<Table, OtherTable>,
crates/bindings-typescript/src/lib/query.ts:766
↓ 165 callers
Method
GenericToString
<summary> Convert an arbitrary object to a string: - Printing <c>null</c> instead of empty string for null objects - Quoting strings - Printing list c
crates/bindings-csharp/BSATN.Runtime/BSATN/Runtime.cs:625
↓ 163 callers
Method
finish
Finish building the `TypespaceForGenerate`. Panics if `add_definition` has not been called for all of `is_def`.
crates/schema/src/type_for_generate.rs:381
↓ 163 callers
Method
send
(msg: Uint8Array<ArrayBuffer>)
crates/bindings-typescript/src/sdk/ws.ts:31
↓ 161 callers
Method
map
Maps the container part of the error.
crates/data-structures/src/slim_slice.rs:99
↓ 160 callers
Method
with_cause
Called by codegen. Not part of this library's stable API.
sdks/rust/src/error.rs:46
↓ 158 callers
Method
values
Returns an iterator over all the values in the map.
crates/data-structures/src/small_map.rs:160
↓ 157 callers
Method
build
Builds the `Smoketest` instance. This spawns a SpacetimeDB server (unless `SPACETIME_REMOTE_SERVER` is set), creates a temporary project directory, w
crates/smoketests/src/lib.rs:841
↓ 157 callers
Method
timestamp
Construct a copy of the point-in-time `Timestamp` type.
crates/sats/src/algebraic_type.rs:347
↓ 157 callers
Method
toString
Convert to string (hyphenated form).
crates/bindings-typescript/src/lib/uuid.ts:236
↓ 154 callers
Method
push
Pushes a single value to he product.
crates/sats/src/product_value.rs:73
↓ 148 callers
Method
get
(&self, key: &Hash)
crates/core/src/host/disk_storage.rs:31
↓ 144 callers
Method
lock
Attempt to lock `path` using an exclusive lock. The file will be created, including its parent directories, if it does not exist. Note that, unlike
crates/fs-utils/src/lockfile.rs:158
↓ 144 callers
Method
set
(self)
sdks/rust/src/credentials.rs:246
↓ 143 callers
Function
parse_row_list_as_deletes
(rows: BsatnRowList)
sdks/rust/src/spacetime_module.rs:308
↓ 143 callers
Function
parse_row_list_as_inserts
(rows: BsatnRowList)
sdks/rust/src/spacetime_module.rs:296
↓ 142 callers
Method
to_case
(&self, case: Case)
crates/codegen/src/unrealcpp.rs:6665
↓ 141 callers
Method
MarkFailure
sdks/unreal/tests/TestClient/Source/TestClient/Private/Tests/TestCounter.cpp:20
↓ 141 callers
Function
literal_sql
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/expr.h:95
↓ 141 callers
Method
map
( range: &'a impl RangeBounds<TypedIndexKey<'b>>, map: impl Copy + FnOnce(&'a TypedInd
crates/table/src/table_index/mod.rs:1690
↓ 141 callers
Function
product
(values: Vec<AlgebraicValue>)
crates/physical-plan/src/plan.rs:1720
↓ 141 callers
Method
push
(s: T | undefined)
crates/bindings-typescript/src/lib/schema.ts:214
↓ 141 callers
Method
run
Run `work` on `writer`, but also count the number of bytes written.
crates/sats/src/buffer.rs:333
↓ 138 callers
Method
contains
(&self, other: &Self)
crates/primitives/src/attr.rs:248
↓ 135 callers
Function
to_string
Generate string lookup function
crates/bindings-cpp/include/spacetimedb/abi/opaque_types.h:126
↓ 131 callers
Method
Find
(Column value)
sdks/csharp/src/Table.cs:119
↓ 130 callers
Method
GetOrAdd
* Retrieves the existing table cache or creates a new one if none exists. * * @param Name The name of the table (used here for validation).
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/DBCache/ClientCache.h:30
↓ 130 callers
Method
Info
(string message)
sdks/csharp/src/ISpacetimeDBLogger.cs:30
↓ 130 callers
Method
array
Returns an unsized array type where the element type is `ty`.
crates/sats/src/algebraic_type.rs:332
↓ 128 callers
Method
disconnect
* Disconnects from the database.
crates/bindings-typescript/src/sdk/db_context.ts:27
↓ 127 callers
Method
bool
A literal boolean value
crates/expr/src/expr.rs:418
↓ 126 callers
Method
into_iter
(self)
crates/lib/src/http.rs:124
↓ 121 callers
Method
clear
* Clears the table of all rows. * Returns the number of rows deleted, * i.e., the return value of `this.count()` before this call.
crates/bindings-typescript/src/lib/table.ts:277
↓ 121 callers
Function
useTable
( query: Query<TableDef>, callbacks?: UseTableCallbacks<Prettify<RowType<TableDef>>> )
crates/bindings-typescript/src/react/useTable.ts:67
↓ 120 callers
Method
replace
(&mut self, offset: PageOffset)
crates/table/src/page.rs:84
next →
1–100 of 27,764, ranked by callers