MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 4,195 callersFunctionnew
(s: &str)
crates/schema/src/identifier.rs:136
↓ 3,242 callersFunctionOk
Ok() for void
crates/bindings-cpp/include/spacetimedb/outcome.h:109
↓ 2,532 callersMethodunwrap
Unwrap the outer projection, returning the inner expression
crates/expr/src/expr.rs:57
↓ 1,826 callersMethodmap
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 callersMethodinsert
* 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 callersFunctionGENERATED_BODY
sdks/unreal/tests/TestClient/Source/TestClient/Public/Tests/TestHandler.h:38
↓ 1,282 callersMethoditer
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 callersMethodto_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 callersMethodfilter
( point: IndexVal<TableDef, I> )
crates/bindings-typescript/src/lib/indexes.ts:136
↓ 876 callersMethodtoHexString
Convert to hex string without a 0x prefix.
crates/bindings-typescript/src/lib/uuid.ts:231
↓ 798 callersFunctionErr
Err() for void
crates/bindings-cpp/include/spacetimedb/outcome.h:114
↓ 747 callersMethodjoin
(self, with: Self)
crates/execution/src/lib.rs:324
↓ 742 callersMethodstring
Converts the string to a V8 string.
crates/core/src/host/v8/string.rs:41
↓ 628 callersFunctioneq
( key: Column, value: Value )
crates/bindings-typescript/src/lib/filter.ts:12
↓ 577 callersMethodclone
(&self)
sdks/rust/src/client_cache.rs:420
↓ 577 callersMethodclone
(&self)
crates/core/src/util/jobs.rs:294
↓ 513 callersMethodjson
Parses the body as JSON.
crates/smoketests/src/lib.rs:487
↓ 507 callersMethoddelete
(point: IndexVal<TableDef, I>)
crates/bindings-typescript/src/lib/indexes.ts:149
↓ 485 callersMethodclone
()
crates/bindings-typescript/src/sdk/version.ts:84
↓ 484 callersMethodwhere
( predicate: (row: RowExpr<TableDef>) => PredicateExpr<TableDef> )
crates/bindings-typescript/src/lib/query.ts:171
↓ 480 callersMethodfind
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 callersMethodreducer
Convenience method to look up a reducer, possibly by a string.
crates/schema/src/def.rs:353
↓ 442 callersMethodappend
(&mut self, mut other: TableUpdate<Row>)
sdks/rust/src/spacetime_module.rs:242
↓ 402 callersMethodpush
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 callersMethodprimaryKey
* Specify this column as primary key * @remarks Cannot be combined with `default()`.
crates/bindings-typescript/src/lib/type_builders.ts:256
↓ 372 callersMethodcollect
Wait for the subscription to complete and return the updates.
crates/smoketests/src/lib.rs:1886
↓ 366 callersMethodstatus
()
crates/bindings-typescript/src/server/http_shared.ts:135
↓ 356 callersMethodclone
(&self)
crates/schema/src/def/deserialize.rs:21
↓ 338 callersMethodupdate
( &self, database: Database, host_type: HostType, program_bytes: Box<[u8]>,
crates/client-api/src/lib.rs:196
↓ 322 callersMethodfrom
(args: AddArgs)
templates/basic-rs/src/module_bindings/add_reducer.rs:14
↓ 321 callersMethodlog
(&self, record: &log::Record)
crates/bindings/src/logger.rs:48
↓ 320 callersMethodget
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 callersMethodselect
(&self, protocols: impl IntoIterator<Item = (S, P)>)
crates/client-api/src/util/websocket.rs:40
↓ 301 callersFunctionto_vec
Serialize `value` into a `Vec<u8>` in the BSATN format.
crates/sats/src/bsatn.rs:28
↓ 300 callersFunctiontable
Create a `Table` from a `ProductType` without validation.
crates/table/src/table.rs:2473
↓ 297 callersMethodGet
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/MockCoreMinimal.h:32
↓ 292 callersMethodcount
* 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 callersMethodRegisterPendingTypedReducer
sdks/unreal/tests/TestClient/Source/TestClient/Private/ModuleBindings/SpacetimeDBClient.g.cpp:13862
↓ 286 callersMethodname
* Specify the in-database name for this column.
crates/bindings-typescript/src/lib/type_builders.ts:421
↓ 275 callersMethodInsert
(T row)
crates/bindings-csharp/Runtime/Internal/ITable.cs:155
↓ 274 callersMethodclone
(&self)
crates/core/src/subscription/module_subscription_manager.rs:583
↓ 271 callersMethodon
(event: Key, callback: Callback)
crates/bindings-typescript/src/sdk/event_emitter.ts:5
↓ 267 callersMethoderror
(&self, msg: &str)
crates/core/src/database_logger.rs:668
↓ 267 callersFunctionset
( x: T, t: { [k in F]: V } )
crates/bindings-typescript/src/lib/type_util.ts:34
↓ 266 callersMethodinto_sql
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/table.h:132
↓ 261 callersMethodAdd
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/MockCoreMinimal.h:43
↓ 245 callersMethodIsEmpty
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/DBCache/TableAppliedDiff.h:25
↓ 232 callersFunctionserialize
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:157
↓ 231 callersMethodemit
(event: Key, ...args: any[])
crates/bindings-typescript/src/sdk/event_emitter.ts:22
↓ 229 callersMethodidentity
Get a handle on the `identity` unique index on the table `user`.
templates/chat-console-rs/src/module_bindings/user_table.rs:112
↓ 226 callersMethodinvoke_reducer_with_callback
Called by autogenerated reducer invocation methods.
sdks/rust/src/db_connection.rs:747
↓ 223 callersMethodAssert
(bool condition, string message)
demo/Blackholio/client-godot/tests/GodotPlayModeTests.cs:288
↓ 217 callersFunctionOk
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/sum_type.h:169
↓ 213 callersMethodpath
(&self)
crates/testing/src/modules.rs:201
↓ 208 callersMethodas_ref
crates/bindings-cpp/include/spacetimedb/bsatn/algebraic_type.h:313
↓ 204 callersMethodpush_back
(&mut self, value: T)
crates/core/src/client/client_connection.rs:570
↓ 202 callersMethodunwrap_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 callersMethodlen
(self)
crates/sats/src/layout.rs:60
↓ 185 callersMethodadd_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 callersMethodtry_into
(self)
crates/auth/src/identity.rs:100
↓ 181 callersMethodclone
(&self)
crates/sats/src/lib.rs:120
↓ 178 callersMethodcall
(name: string, args?: Record<string, any>)
templates/keynote-2/src/core/connectors.ts:26
↓ 177 callersMethodfind
(&self, col_val: impl Borrow<Col::ColType>)
crates/bindings/src/table.rs:351
↓ 175 callersMethodautoInc
* Specify this column as auto-incrementing * @remarks Cannot be combined with `default()`.
crates/bindings-typescript/src/lib/type_builders.ts:351
↓ 170 callersMethodok
* @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 callersFunctionand
( first: BooleanExpr<Table>, second: BooleanExpr<OtherTable> & RequireSameAndOrTable<Table, OtherTable>,
crates/bindings-typescript/src/lib/query.ts:766
↓ 165 callersMethodGenericToString
<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 callersMethodfinish
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 callersMethodsend
(msg: Uint8Array<ArrayBuffer>)
crates/bindings-typescript/src/sdk/ws.ts:31
↓ 161 callersMethodmap
Maps the container part of the error.
crates/data-structures/src/slim_slice.rs:99
↓ 160 callersMethodwith_cause
Called by codegen. Not part of this library's stable API.
sdks/rust/src/error.rs:46
↓ 158 callersMethodvalues
Returns an iterator over all the values in the map.
crates/data-structures/src/small_map.rs:160
↓ 157 callersMethodbuild
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 callersMethodtimestamp
Construct a copy of the point-in-time `Timestamp` type.
crates/sats/src/algebraic_type.rs:347
↓ 157 callersMethodtoString
Convert to string (hyphenated form).
crates/bindings-typescript/src/lib/uuid.ts:236
↓ 154 callersMethodpush
Pushes a single value to he product.
crates/sats/src/product_value.rs:73
↓ 148 callersMethodget
(&self, key: &Hash)
crates/core/src/host/disk_storage.rs:31
↓ 144 callersMethodlock
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 callersMethodset
(self)
sdks/rust/src/credentials.rs:246
↓ 143 callersFunctionparse_row_list_as_deletes
(rows: BsatnRowList)
sdks/rust/src/spacetime_module.rs:308
↓ 143 callersFunctionparse_row_list_as_inserts
(rows: BsatnRowList)
sdks/rust/src/spacetime_module.rs:296
↓ 142 callersMethodto_case
(&self, case: Case)
crates/codegen/src/unrealcpp.rs:6665
↓ 141 callersMethodMarkFailure
sdks/unreal/tests/TestClient/Source/TestClient/Private/Tests/TestCounter.cpp:20
↓ 141 callersFunctionliteral_sql
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/expr.h:95
↓ 141 callersMethodmap
( range: &'a impl RangeBounds<TypedIndexKey<'b>>, map: impl Copy + FnOnce(&'a TypedInd
crates/table/src/table_index/mod.rs:1690
↓ 141 callersFunctionproduct
(values: Vec<AlgebraicValue>)
crates/physical-plan/src/plan.rs:1720
↓ 141 callersMethodpush
(s: T | undefined)
crates/bindings-typescript/src/lib/schema.ts:214
↓ 141 callersMethodrun
Run `work` on `writer`, but also count the number of bytes written.
crates/sats/src/buffer.rs:333
↓ 138 callersMethodcontains
(&self, other: &Self)
crates/primitives/src/attr.rs:248
↓ 135 callersFunctionto_string
Generate string lookup function
crates/bindings-cpp/include/spacetimedb/abi/opaque_types.h:126
↓ 131 callersMethodFind
(Column value)
sdks/csharp/src/Table.cs:119
↓ 130 callersMethodGetOrAdd
* 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 callersMethodInfo
(string message)
sdks/csharp/src/ISpacetimeDBLogger.cs:30
↓ 130 callersMethodarray
Returns an unsized array type where the element type is `ty`.
crates/sats/src/algebraic_type.rs:332
↓ 128 callersMethoddisconnect
* Disconnects from the database.
crates/bindings-typescript/src/sdk/db_context.ts:27
↓ 127 callersMethodbool
A literal boolean value
crates/expr/src/expr.rs:418
↓ 126 callersMethodinto_iter
(self)
crates/lib/src/http.rs:124
↓ 121 callersMethodclear
* 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 callersFunctionuseTable
( query: Query<TableDef>, callbacks?: UseTableCallbacks<Prettify<RowType<TableDef>>> )
crates/bindings-typescript/src/react/useTable.ts:67
↓ 120 callersMethodreplace
(&mut self, offset: PageOffset)
crates/table/src/page.rs:84
next →1–100 of 27,764, ranked by callers