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
↓ 57 callers
Method
write_str
(&mut self, s: &str)
crates/codegen/src/code_indenter.rs:83
↓ 56 callers
Method
all
()
crates/cli/src/subcommands/publish.rs:51
↓ 55 callers
Method
Remove
<summary> Remove a key from the dictionary. </summary> <param name="key"></param> <returns>Whether the last copy of the key was removed.</returns>
sdks/csharp/src/MultiDictionary.cs:132
↓ 55 callers
Method
clone
(&self)
crates/table/src/table_index/btree_index.rs:211
↓ 55 callers
Function
custom
()
crates/paths/src/lib.rs:337
↓ 55 callers
Method
subscribe
(&self, queries: &[&str])
crates/smoketests/src/lib.rs:1760
↓ 54 callers
Method
has
(key: TableName<RemoteModule>)
crates/bindings-typescript/src/sdk/client_cache.ts:50
↓ 54 callers
Method
reserve
crates/bindings-cpp/include/spacetimedb/internal/buffer_pool.h:146
↓ 54 callers
Method
withUri
* Set the URI of the SpacetimeDB server to connect to. * * @param uri The URI of the SpacetimeDB server to connect to. *
crates/bindings-typescript/src/sdk/db_connection_builder.ts:55
↓ 53 callers
Method
as_str
(&self)
crates/sats/src/hex.rs:21
↓ 53 callers
Method
default
* Specify a default value for this column * @param value The default value for the column * @example * ```typescript * const col = t.i32()
crates/bindings-typescript/src/lib/type_builders.ts:408
↓ 53 callers
Method
elapsed
Return the amount of virtual time elapsed in this runtime.
crates/runtime/src/sim/executor/mod.rs:157
↓ 53 callers
Method
push
(&mut self, update: SingleQueryUpdate<F>)
crates/client-api-messages/src/websocket/v1.rs:611
↓ 52 callers
Method
Abort
sdks/unreal/tests/TestClient/Source/TestClient/Private/Tests/TestCounter.cpp:84
↓ 52 callers
Method
ToString
()
crates/bindings-csharp/BSATN.Runtime/BSATN/Uuid.cs:289
↓ 52 callers
Method
begin
()
templates/keynote-2/src/core/connectors.ts:16
↓ 52 callers
Method
finish
(self)
crates/lib/src/lib.rs:256
↓ 52 callers
Method
is_err
(&self)
crates/core/src/host/host_controller.rs:156
↓ 52 callers
Method
option
( rawName: string, description: string, config: OptionConfig = {}, )
templates/keynote-2/src/opts.ts:55
↓ 52 callers
Method
position
What is the position of this label in the return tuple?
crates/physical-plan/src/plan.rs:1019
↓ 51 callers
Method
AddQuery
<summary> Add a typed query to this subscription. This is the entry point for building subscriptions without writing SQL by hand. Once a typed query
sdks/csharp/examples~/regression-tests/client/module_bindings/SpacetimeDBClient.g.cs:509
↓ 51 callers
Method
FindUniqueIndex
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/DBCache/TableHandle.h:128
↓ 51 callers
Method
Where
(Func<TCols, TPredicate> predicate)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:211
↓ 51 callers
Method
assert_sql
Asserts that a SQL query produces the expected output. Both the actual output and expected string have trailing whitespace trimmed from each line for
crates/smoketests/src/lib.rs:1594
↓ 51 callers
Method
size
Returns the row size for this row type.
crates/sats/src/layout.rs:293
↓ 51 callers
Method
with
Reuses the typespace we already have and returns `val` and `ty` wrapped with it.
crates/sats/src/lib.rs:151
↓ 51 callers
Method
with_unique_constraint
Generates a [RawConstraintDefV9] using the supplied `columns`.
crates/lib/src/db/raw_def/v9.rs:914
↓ 50 callers
Method
Write
(System.IO.BinaryWriter writer, Player value)
crates/bindings-csharp/Codegen.Tests/fixtures/diag/snapshots/Module#Player.verified.cs:36
↓ 50 callers
Method
build
Build a CommandSchema by validating against the clap Command. # Arguments `command` - The clap Command to validate against
crates/cli/src/spacetime_config.rs:304
↓ 50 callers
Method
create_table_for_test
( &self, name: &str, schema: &[(&'static str, AlgebraicType)], indexes: &[ColI
crates/engine/src/relational_db.rs:1215
↓ 50 callers
Method
entity_id
Get a handle on the `entity_id` unique index on the table `player`.
sdks/rust/tests/view-client/src/module_bindings/player_table.rs:112
↓ 50 callers
Method
flatten
Flatten nested ANDs and ORs
crates/physical-plan/src/plan.rs:1567
↓ 50 callers
Method
off
(event: Key, callback: Callback)
crates/bindings-typescript/src/sdk/event_emitter.ts:14
↓ 49 callers
Method
len
(&self)
crates/bench/benches/delete_table.rs:143
↓ 48 callers
Method
get_mut
(&mut self, handle: I)
crates/core/src/host/wasm_common.rs:327
↓ 48 callers
Function
take
(pool: &P)
crates/data-structures/src/object_pool.rs:251
↓ 47 callers
Method
Add
(ReducerContext ctx, uint id, uint indexed)
sdks/csharp/examples~/regression-tests/server/Lib.cs:550
↓ 47 callers
Function
default_schema_parity_scorers
(host_url: &str, src_file: &str, route_tag: &str)
tools/xtask-llm-benchmark/src/eval/defaults.rs:9
↓ 47 callers
Method
exit
(&self)
crates/core/src/host/module_host.rs:3092
↓ 47 callers
Method
recv
Receive the next message while adapting how aggressively we linger before parking again. Once a worker has been woken up by one message, subsequent c
crates/core/src/util/adaptive_recv.rs:64
↓ 47 callers
Method
value
Returns the borrowed value.
crates/sats/src/lib.rs:132
↓ 46 callers
Function
ConnectThen
sdks/unreal/tests/TestClient/Source/TestClient/Private/Tests/CommonTestFunctions.cpp:140
↓ 46 callers
Function
client
(connection_id: u128, db: &Arc<RelationalDB>)
crates/core/src/subscription/module_subscription_manager.rs:2240
↓ 46 callers
Method
contains
(&self, item: &u64)
crates/commitlog/src/stream/common.rs:106
↓ 46 callers
Function
expect_identifier
Create an identifier, panicking if invalid.
crates/schema/src/def/validate.rs:23
↓ 46 callers
Function
indented_block
(output: &mut CodeIndenter<String>, f: impl FnOnce(&mut CodeIndenter<String>) -> R)
crates/codegen/src/csharp.rs:1557
↓ 46 callers
Method
iter_mut
Returns an iterator, yielding every row in the table identified by `table_id`.
crates/engine/src/relational_db.rs:1373
↓ 45 callers
Method
Update
()
sdks/csharp/src/WebSocket.cs:578
↓ 45 callers
Function
ValidateParameterConfig
sdks/unreal/tests/TestClient/Source/TestClient/Private/Tests/CommonTestFunctions.cpp:352
↓ 45 callers
Function
commit
(datastore: &Locking, tx: MutTxId)
crates/datastore/src/locking_tx_datastore/datastore.rs:1292
↓ 45 callers
Method
dedent
(&mut self, n: u32)
crates/codegen/src/code_indenter.rs:40
↓ 45 callers
Function
deserialize_js
Deserializes a `T` from `val` in `scope`.
crates/core/src/host/v8/de.rs:26
↓ 45 callers
Method
field
Cannot resolve field name within table
crates/expr/src/errors.rs:34
↓ 45 callers
Method
find
crates/bindings-cpp/include/spacetimedb/table_with_constraints.h:458
↓ 45 callers
Function
make_test
(test_name: &str)
sdks/unreal/tests/test.rs:14
↓ 45 callers
Method
map
Applies `f` recursively to all subplans
crates/physical-plan/src/plan.rs:358
↓ 45 callers
Method
onConnect
(cb: (conn: MockConnection) => void)
crates/bindings-typescript/tests/connection_manager.test.ts:140
↓ 45 callers
Function
parse
Parses a source text literal as a particular type
crates/expr/src/lib.rs:220
↓ 45 callers
Method
to_vec
(&self)
crates/standalone/src/control_db.rs:650
↓ 45 callers
Method
ty
Returns the type of the value.
crates/sats/src/lib.rs:137
↓ 45 callers
Method
where
crates/bindings-cpp/include/spacetimedb/query_builder/table.h:135
↓ 45 callers
Method
withDatabaseName
* Set the name or Identity of the remote database to connect to. * * @param nameOrAddress * * @returns The `DbConnectionBuilder` instance.
crates/bindings-typescript/src/sdk/db_connection_builder.ts:67
↓ 44 callers
Method
InternalCallReducer
(T args)
sdks/csharp/src/SpacetimeDBClient.cs:122
↓ 44 callers
Method
as_ref
(&self)
crates/core/src/host/v8/mod.rs:180
↓ 44 callers
Method
clone
(&self)
crates/primitives/src/col_list.rs:301
↓ 44 callers
Method
empty
crates/bindings-cpp/include/spacetimedb/table.h:565
↓ 44 callers
Method
idx
Returns the index into the specific `Typespace`'s list of types.
crates/sats/src/algebraic_type_ref.rs:17
↓ 44 callers
Method
indent
(&mut self, n: u32)
crates/codegen/src/code_indenter.rs:37
↓ 44 callers
Method
to_owned
(&self)
crates/client-api-messages/src/name.rs:391
↓ 44 callers
Method
to_string
Convert to string using proper decimal conversion
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/types.h:138
↓ 43 callers
Method
Eq
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/expr.h:333
↓ 43 callers
Method
Insert
(ReducerContext ctx, uint id)
sdks/csharp/examples~/regression-tests/republishing/server-initial/Lib.cs:13
↓ 43 callers
Method
Report
(ErrorDescriptor<TContext> descriptor, TContext ctx)
crates/bindings-csharp/BSATN.Codegen/Diag.cs:210
↓ 43 callers
Function
assert_query_results
Assert this query returns the expected rows for this user
crates/core/src/sql/execute.rs:491
↓ 43 callers
Method
next
Returns the offset / Address of the next granule in the linked-list.
crates/table/src/var_len.rs:229
↓ 43 callers
Method
query
Return the [`Query`] for this [`QueryState`]
crates/core/src/subscription/module_subscription_manager.rs:246
↓ 43 callers
Function
run_for_testing
Short-cut for simplify test execution
crates/core/src/sql/execute.rs:247
↓ 42 callers
Method
Eq
(SqlLiteral<TValue> value)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:138
↓ 41 callers
Method
SetCache
sdks/unreal/tests/TestClient/Source/TestClient/Public/ModuleBindings/Tables/BtreeU32Table.g.h:34
↓ 41 callers
Method
Write
(BinaryWriter writer, byte value)
crates/bindings-csharp/BSATN.Runtime/BSATN/Runtime.cs:259
↓ 41 callers
Method
build
(self)
sdks/rust/src/db_connection.rs:951
↓ 41 callers
Function
c
(color: keyof typeof colors, text: string)
templates/keynote-2/src/demo.ts:66
↓ 41 callers
Method
onConnectError
( cb: (ctx: ErrorContextInterface, error: Error) => void )
crates/bindings-typescript/tests/connection_manager.test.ts:153
↓ 41 callers
Method
push
Pushes `val` as an entry for the key. This assumes that `val` was previously not recorded. The structure does not check whether it was previously res
crates/table/src/table_index/same_key_entry.rs:71
↓ 41 callers
Method
unique
* Specify this column as unique * @remarks Cannot be combined with `default()`.
crates/bindings-typescript/src/lib/type_builders.ts:288
↓ 41 callers
Function
unit
()
crates/sats/src/algebraic_type.rs:540
↓ 40 callers
Method
Where
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/QueryBuilder/table.h:147
↓ 40 callers
Function
assert_all_tables_empty
Each test runs against a fresh DB, so all tables should be empty until we call an insert reducer. We'll call this function within our initial `on_sub
sdks/rust/tests/test-client/src/test_handlers.rs:136
↓ 40 callers
Method
clone
(&self)
crates/core/src/client/client_connection.rs:764
↓ 40 callers
Method
commit
()
templates/keynote-2/src/core/connectors.ts:17
↓ 40 callers
Function
create_module_def
(build_module: impl Fn(&mut RawModuleDefV9Builder))
crates/schema/src/auto_migrate.rs:1187
↓ 40 callers
Function
decode
Decode `bytes` to the value type of `ty: S`.
crates/sats/src/bsatn.rs:52
↓ 40 callers
Method
end
crates/bindings-cpp/include/spacetimedb/internal/buffer_pool.h:172
↓ 40 callers
Method
getConnection
()
crates/bindings-typescript/src/vue/connection_state.ts:12
↓ 40 callers
Method
r#where
(self, f: F)
crates/query-builder/src/join.rs:144
↓ 40 callers
Method
text
Returns the body as a string.
crates/smoketests/src/lib.rs:482
↓ 40 callers
Method
with_updates_by_pk
Returns the applied diff restructured with row updates where deletes and inserts are found according to `derive_pk`.
sdks/rust/src/client_cache.rs:131
↓ 39 callers
Function
get_env
Returns the environment or errors.
crates/core/src/host/v8/syscall/common.rs:149
↓ 39 callers
Method
is_empty
`true` if the segment contains no commits. The segment will, however, contain a header. This thus violates the convention that `is_empty == (len == 0
crates/commitlog/src/segment.rs:206
↓ 39 callers
Method
option
Returns a structural option type where `some_type` is the type for the `some` variant.
crates/sats/src/algebraic_type.rs:321
← previous
next →
201–300 of 27,764, ranked by callers