MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 9 callersFunctionInterval
(micros: bigint)
crates/bindings-typescript/src/lib/schedule_at.ts:72
↓ 9 callersMethodRange
(this Random rng, float min, float max)
demo/Blackholio/server-csharp/Lib.cs:588
↓ 9 callersMethodRead
(System.IO.BinaryReader reader)
crates/bindings-csharp/Codegen.Tests/fixtures/server/snapshots/Type#EmptyClass.verified.cs:20
↓ 9 callersMethodRemoteQuery
(string query)
sdks/csharp/src/Table.cs:401
↓ 9 callersMethodRightSemijoin
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/table.h:173
↓ 9 callersMethodSubscriptionBuilder
<summary> Start building a subscription. </summary> <returns>A builder-pattern constructor for subscribing to queries, causing matching rows to be rep
sdks/csharp/examples~/regression-tests/client/module_bindings/SpacetimeDBClient.g.cs:132
↓ 9 callersMethodTimestamp
(Timestamp value)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:62
↓ 9 callersMethodTransactionUpdate
(System.Collections.Generic.List<QuerySetUpdate> QuerySets)
sdks/csharp/src/SpacetimeDB/ClientApi/TransactionUpdate.g.cs:19
↓ 9 callersMethodadd_row_level_security
Add a row-level security policy to the module. The `sql` expression should be a valid SQL expression that will be used to filter rows. NOTE**: The `
crates/lib/src/db/raw_def/v9.rs:814
↓ 9 callersMethodappend
Appends a key-value pair to the index file. Successive calls to `append` must supply key in ascending order Errors - `IndexError::InvalidInput`: Eith
crates/commitlog/src/index/indexfile.rs:164
↓ 9 callersMethodas_str
Returns the backing string slice.
crates/core/src/host/v8/string.rs:53
↓ 9 callersMethodas_str
Extract a string slice containing the entire `Varchar`.
crates/commitlog/src/varchar.rs:67
↓ 9 callersFunctionassert_received_update
(f: impl Future<Output = Option<OutboundMessage>>)
crates/core/src/client/client_connection.rs:1334
↓ 9 callersMethodauthorize_action
( &self, _subject: Identity, _database: Identity, _action: Act
crates/client-api/src/routes/database.rs:1907
↓ 9 callersMethodbreak_clients
(mut self, break_clients: bool)
crates/smoketests/src/lib.rs:547
↓ 9 callersMethodcall_output
Calls a reducer/procedure and returns the full output including stderr.
crates/smoketests/src/lib.rs:1520
↓ 9 callersFunctioncheck_addrs
(prog: &VarLenVisitorProgram, row: &Bytes, expected: [usize; N])
crates/table/src/row_type_visitor.rs:525
↓ 9 callersFunctioncheck_product_type
Check that the columns of a `TableDef` correctly correspond the the `TableDef`'s `product_type_ref`.
crates/schema/src/def/validate.rs:63
↓ 9 callersFunctioncli
()
crates/cli/src/subcommands/dev.rs:43
↓ 9 callersMethodclose
()
tools/llm-sequential-upgrade/perf-benchmark/src/clients/spacetime-client.ts:22
↓ 9 callersMethodcollapse
Returns a row, collapsing the distinction between inserted and existing rows.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2293
↓ 9 callersMethodcommits_from
(&self, offset: u64)
crates/commitlog/src/commitlog.rs:203
↓ 9 callersMethoddatastore_index_scan_point_bsatn
( IndexId index_id, ReadOnlySpan<byte> point, uint point_len, out RowIter out_
crates/bindings-csharp/Runtime/Internal/FFI.cs:216
↓ 9 callersMethoddecode_algebraic_value
Decodes `self` as an [`AlgebraicValue`] at `key_type`. An incorrect `key_type`, i.e., one other than what was used when the index was created, may le
crates/table/src/table_index/bytes_key.rs:214
↓ 9 callersMethoddeserialize
(self, de: D)
crates/sats/src/de/serde.rs:131
↓ 9 callersFunctiondiff
Diff a collection of items, looking them up in both the old and new `ModuleDef` by their `ModuleDefLookup::Key`. Keys are required to be stable across
crates/schema/src/auto_migrate.rs:535
↓ 9 callersMethodeditMessage
(messageId: number, content: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:198
↓ 9 callersFunctionexpect_index_err
(res: Result<impl fmt::Debug>)
crates/datastore/src/locking_tx_datastore/datastore.rs:2371
↓ 9 callersMethodextend
Extend the stream with another stream.
crates/data-structures/src/error_stream.rs:174
↓ 9 callersMethodfind_server
(&self, name_or_host: &str)
crates/cli/src/config.rs:182
↓ 9 callersFunctionfmtLog
(...data: any[])
crates/bindings-typescript/src/server/console.ts:5
↓ 9 callersMethodfromCounterV7
* Generate a UUID `v7` using a monotonic counter from `0` to `2^31 - 1`, * a timestamp, and 4 random bytes. * * The counter wraps around on o
crates/bindings-typescript/src/lib/uuid.ts:149
↓ 9 callersMethodfromDate
* Get a `Timestamp` representing the same point in time as `date`.
crates/bindings-typescript/src/lib/timestamp.ts:84
↓ 9 callersMethodget
Gets the value of a cookie by name.
sdks/rust/src/credentials.rs:200
↓ 9 callersMethodget
crates/bindings-cpp/include/spacetimedb/bsatn/algebraic_type.h:439
↓ 9 callersMethodget
(self)
crates/client-api/src/auth.rs:460
↓ 9 callersMethodget
(path: string, handler: HttpHandlerExport<any>)
crates/bindings-typescript/src/server/http_handlers.ts:248
↓ 9 callersMethodget_field
Borrow the value at field of `self` identified by `col_pos`. The `name` is non-functional and is only used for error-messages.
crates/sats/src/product_value.rs:83
↓ 9 callersFunctionget_filtered_generate_configs
Get filtered generate configs based on CLI arguments. Uses the database-centric model: collects all targets with inheritance, filters by database nam
crates/cli/src/subcommands/generate.rs:68
↓ 9 callersMethodget_table_and_blob_store
(&mut self, table_id: TableId)
crates/datastore/src/locking_tx_datastore/tx_state.rs:243
↓ 9 callersMethodget_u8
(&mut self)
crates/sats/src/buffer.rs:197
↓ 9 callersMethodgt
(self, rhs: R)
crates/query-builder/src/table.rs:71
↓ 9 callersMethodinc
(counter: &AtomicU64)
crates/snapshot/src/remote.rs:189
↓ 9 callersFunctioninterval
(value: bigint)
crates/bindings-typescript/src/lib/schedule_at.ts:29
↓ 9 callersMethodinto_parts
(self)
crates/engine/src/relational_db.rs:2078
↓ 9 callersMethodinto_product_value
(self)
crates/bench/src/schemas.rs:83
↓ 9 callersFunctionis_blueprintable
Helper function to check if a type is blueprintable as a field (UPROPERTY)
crates/codegen/src/unrealcpp.rs:6249
↓ 9 callersMethodjoinRoom
(roomId: number)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:102
↓ 9 callersMethodlayout
(&self)
crates/sats/src/layout.rs:163
↓ 9 callersFunctionmake_config_with_children
( fields: HashMap<String, serde_json::Value>, children: Vec<SpacetimeConfig>, )
crates/cli/src/subcommands/publish.rs:933
↓ 9 callersFunctionmassToRadius
(mass: number)
demo/Blackholio/server-ts/src/index.ts:703
↓ 9 callersFunctionmass_to_radius
demo/Blackholio/server-cpp/spacetimedb/src/lib.cpp:198
↓ 9 callersFunctionmass_to_radius
(mass: i32)
demo/Blackholio/server-rust/src/lib.rs:304
↓ 9 callersMethodmodule
(&self)
crates/client-api/src/lib.rs:106
↓ 9 callersMethodname_segments
Iterate over the segments of this name.
crates/schema/src/def.rs:1542
↓ 9 callersMethodon_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/users_table.rs:56
↓ 9 callersMethodopen_file
(path: ModuleLogPath)
crates/core/src/database_logger.rs:326
↓ 9 callersFunctionparse_and_type_sub
Parse and type check a subscription query
crates/expr/src/check.rs:160
↓ 9 callersMethodpath
The root path of the (temporary) database directory.
crates/engine/src/relational_db.rs:2066
↓ 9 callersFunctionread_from_start_to_end
(f: &mut (impl Read + Seek), buf: &mut Vec<u8>)
crates/commitlog/src/repo/mem.rs:389
↓ 9 callersMethodread_u64_le
crates/bindings-cpp/include/spacetimedb/bsatn/reader.h:69
↓ 9 callersMethodread_u8
crates/bindings-cpp/include/spacetimedb/bsatn/reader.h:61
↓ 9 callersFunctionreducer_callback_assert_committed
( reducer_name: &'static str, )
sdks/rust/tests/view-pk-client/src/test_handlers.rs:28
↓ 9 callersMethodreducers
(&self)
sdks/rust/tests/view-pk-client/src/module_bindings/mod.rs:358
↓ 9 callersFunctionrefreshActiveRoom
()
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/App.tsx:99
↓ 9 callersMethodregisterType
* Register a type using the unified type registration system * This is now just a thin wrapper around the ModuleTypeRegistration system */
crates/bindings-cpp/src/internal/v9_builder.cpp:75
↓ 9 callersMethodregisterTypesRecursively
* Adds a type to the module definition's typespace as a `Ref` if it is a named compound type (Product or Sum). * Otherwise, returns the type as is.
crates/bindings-typescript/src/lib/schema.ts:307
↓ 9 callersFunctionrename
Helper for renaming a relvar
crates/expr/src/rls.rs:362
↓ 9 callersMethodreport_mut_tx_metrics
Reports the metrics for `reducer`, using counters provided by `db`.
crates/engine/src/relational_db.rs:1526
↓ 9 callersMethodreset
Remove all data from the log and reopen it. Log segments are deleted starting from the newest. As multiple segments cannot be deleted atomically, the
crates/commitlog/src/lib.rs:409
↓ 9 callersFunctionsenderError
(message: string)
templates/llm-chat-ts/spacetimedb/src/index.ts:59
↓ 9 callersFunctionserialize
(input: StdTokenStream)
crates/bindings-macro/src/lib.rs:274
↓ 9 callersMethodset_legacy_subscription
Adds a client and its queries to the subscription manager. Sets up the set of subscriptions for the client, replacing any existing legacy subscription
crates/core/src/subscription/module_subscription_manager.rs:1107
↓ 9 callersFunctionsetup_event_table
Create an event table with the basic schema (id: u32, name: String, age: u32).
crates/datastore/src/locking_tx_datastore/datastore.rs:3479
↓ 9 callersMethodsnapshots
(&self)
crates/paths/src/server.rs:133
↓ 9 callersMethodspawn
( id: ClientActorId, auth: ConnectionAuthCtx, sql_auth: AuthCtx, config: Clien
crates/core/src/client/client_connection.rs:843
↓ 9 callersMethodstart
TODO(cloutiertyler): This whole start dance is scuffed, but I don't have time to make it better right now.
crates/core/src/host/scheduler.rs:88
↓ 9 callersMethodsub
(self, other: TimeDuration)
crates/sats/src/timestamp.rs:206
↓ 9 callersMethodsubscribeToAllTables
* Subscribes to all rows from all tables. * * This method is intended as a convenience * for applications where client-side memory use and ne
crates/bindings-typescript/src/sdk/subscription_builder_impl.ts:142
↓ 9 callersMethodtable
Convenience method to look up a table, possibly by a string.
crates/schema/src/def.rs:335
↓ 9 callersFunctiontest_slices
()
crates/data-structures/src/slim_slice.rs:1637
↓ 9 callersFunctiontime
(value: bigint)
crates/bindings-typescript/src/lib/schedule_at.ts:32
↓ 9 callersFunctiontime
(body: impl FnOnce() -> R)
crates/bench/benches/delete_table.rs:16
↓ 9 callersMethodtimeout
( &self, timeout_after: Duration, future: impl Future<Output = T>, )
crates/runtime/src/lib.rs:312
↓ 9 callersMethodtoggleReaction
(messageId: number, emoji: string)
tools/llm-oneshot/apps/chat-app/typescript/opus-4-5/postgres/chat-app-20260104-180000/client/src/api.ts:214
↓ 9 callersFunctiontype_ref_name
UnrealCPP-specific type reference name function that preserves original case
crates/codegen/src/unrealcpp.rs:6914
↓ 9 callersFunctionu32x2_type
()
crates/table/benches/page.rs:498
↓ 9 callersMethoduuid
Construct a copy of the `UUID` type.
crates/sats/src/algebraic_type.rs:357
↓ 9 callersMethodverify
()
templates/keynote-2/src/core/connectors.ts:9
↓ 9 callersMethodviews
The views of the module definition.
crates/schema/src/def.rs:279
↓ 9 callersFunctionworker_ctx_find_database
( worker_ctx: &(impl ControlStateDelegate + ?Sized), database_identity: &Identity, )
crates/client-api/src/routes/database.rs:689
↓ 9 callersMethodwrite_u64_le
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:50
↓ 9 callersFunctionyes_flags_from_args
Read the parsed `--yes` selections off the matched args.
crates/cli/src/subcommands/publish.rs:74
↓ 8 callersFunctionA
sdks/unreal/tests/TestProcClient/Source/TestProcClient/Public/ModuleBindings/Types/ReturnEnumType.g.h:30
↓ 8 callersFunctionFTestClientOptionalInt32
sdks/unreal/tests/TestClient/Source/TestClient/Public/ModuleBindings/Optionals/TestClientOptionalInt32.g.h:22
↓ 8 callersMethodFinishTrackingRequest
(uint requestId, string? metadata = null)
sdks/csharp/src/Stats.cs:146
↓ 8 callersFunctionFloat
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/Tests/SpacetimeDBBSATNTestOrg.h:137
↓ 8 callersMethodFrameTick
()
sdks/csharp/src/SpacetimeDBClient.cs:118
↓ 8 callersFunctionFunction
()
crates/bindings-typescript/src/lib/autogen/types.ts:59
↓ 8 callersMethodGetListSerializer
Return a List BSATN serializer that can serialize this option as an array
crates/bindings-csharp/BSATN.Runtime/BSATN/Runtime.cs:208
← previousnext →1,001–1,100 of 27,764, ranked by callers