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
↓ 118 callers
Method
Register
sdks/unreal/tests/TestClient/Source/TestClient/Private/Tests/TestCounter.cpp:3
↓ 117 callers
Function
test
(ctx: &ReducerContext)
crates/smoketests/modules/pg-wire/src/lib.rs:101
↓ 114 callers
Method
as_bytes
(&self)
crates/sats/src/hex.rs:26
↓ 113 callers
Function
black_box
modules/benchmarks-cpp/src/common.h:10
↓ 112 callers
Method
to
()
crates/bindings-typescript/src/server/range.ts:29
↓ 110 callers
Method
sender
The `Identity` of the client that invoked the view.
crates/bindings/src/lib.rs:950
↓ 109 callers
Method
MarkSuccess
sdks/unreal/tests/TestClient/Source/TestClient/Private/Tests/TestCounter.cpp:13
↓ 109 callers
Function
parse_table_update
(raw_updates: __ws::v2::TableUpdate)
sdks/rust/tests/test-client/src/module_bindings/users_table.rs:135
↓ 109 callers
Function
register_table
(client_cache: &mut __sdk::ClientCache<super::RemoteModule>)
sdks/rust/tests/test-client/src/module_bindings/users_table.rs:129
↓ 107 callers
Method
PostInitialize
sdks/unreal/tests/TestClient/Source/TestClient/Private/ModuleBindings/Tables/PkI8Table.g.cpp:10
↓ 105 callers
Method
ToSql
()
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:209
↓ 104 callers
Method
clone
(&self)
crates/data-structures/src/slim_slice.rs:271
↓ 103 callers
Function
tbl
Somewhat mimics the `define_tables!` macro in sdk-test/src/lib.rs
modules/sdk-test-ts/src/index.ts:110
↓ 101 callers
Method
push
(&mut self, row: impl ToBsatn + Serialize)
crates/core/src/subscription/websocket_building.rs:62
↓ 100 callers
Function
from_str
(s: &str)
crates/data-structures/src/slim_slice.rs:1367
↓ 99 callers
Method
Write
(this BytesSink sink, byte[] bytes)
crates/bindings-csharp/Runtime/Internal/Module.cs:503
↓ 99 callers
Method
len
The number of pointers in the map. This is equal to the number of non-colliding hashes plus the number of colliding hashes.
crates/table/src/pointer_map.rs:186
↓ 98 callers
Method
data
crates/bindings-cpp/include/spacetimedb/internal/buffer_pool.h:162
↓ 98 callers
Method
now
()
crates/sats/src/timestamp.rs:20
↓ 98 callers
Method
wait_for_all
(&self)
sdks/rust/tests/test-counter/src/lib.rs:92
↓ 97 callers
Method
precompiled_module
Uses a pre-compiled module instead of runtime compilation. Pre-compiled modules are built during the warmup phase and stored in `crates/smoketests/mo
crates/smoketests/src/lib.rs:803
↓ 97 callers
Method
take
Get an [`AllocatedCore`] for a job thread.
crates/core/src/util/jobs.rs:68
↓ 96 callers
Method
db
(&self)
sdks/rust/tests/test-client/src/module_bindings/mod.rs:4341
↓ 96 callers
Function
new
()
crates/data-structures/src/object_pool.rs:240
↓ 96 callers
Method
remove
Removes the association `hash -> ptr`. Returns whether the association was deleted.
crates/table/src/pointer_map.rs:285
↓ 96 callers
Method
size
crates/bindings-cpp/include/spacetimedb/internal/buffer_pool.h:150
↓ 95 callers
Function
assert_table_empty
(tbl: T)
sdks/rust/tests/test-client/src/test_handlers.rs:121
↓ 95 callers
Method
post
Registers `handler` to handle `POST` requests at `path`. Panics if `self` already has a handler on this method at this path, including one registered
crates/bindings/src/http.rs:309
↓ 94 callers
Method
as_ref
(&self)
crates/client-api-messages/src/name.rs:190
↓ 93 callers
Method
Num
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/MockCoreMinimal.h:42
↓ 92 callers
Function
begin_mut_tx
(db: &RelationalDB)
crates/engine/src/relational_db.rs:2175
↓ 90 callers
Method
run
(self)
crates/smoketests/src/lib.rs:598
↓ 89 callers
Function
schema
( tables: H, moduleSettings?: ModuleSettings )
crates/bindings-typescript/src/server/schema.ts:628
↓ 88 callers
Method
Debug
(string message)
sdks/csharp/src/ISpacetimeDBLogger.cs:28
↓ 87 callers
Function
timestamp
* @brief Create a Timestamp type (microseconds since Unix epoch). * * @return AlgebraicType representing a Timestamp * @todo Integrate
crates/bindings-cpp/include/spacetimedb/bsatn/type_extensions.h:305
↓ 86 callers
Method
eq
(x: any)
crates/bindings-typescript/src/lib/query.ts:471
↓ 86 callers
Method
split
(self)
crates/data-structures/src/slim_slice.rs:194
↓ 86 callers
Method
unwrap
(self)
crates/data-structures/src/slim_slice.rs:564
↓ 85 callers
Method
is_empty
Is `self` exactly zero bytes?
crates/bindings/src/http.rs:727
↓ 83 callers
Method
key
Add a key definition to the builder. Example: `.key(Key::new("server"))`
crates/cli/src/spacetime_config.rs:288
↓ 83 callers
Method
set
Set the terminate-execution flag due to the given host error.
crates/core/src/host/v8/error.rs:156
↓ 82 callers
Method
Delete
(string path, Handler handler)
crates/bindings-csharp/Runtime/Router.cs:41
↓ 82 callers
Method
publish
Publish the module and return the client path.
crates/smoketests/tests/smoketests/quickstart.rs:695
↓ 81 callers
Function
open
()
templates/keynote-2/src/connectors/bun.ts:45
↓ 80 callers
Function
begin_mut_tx
(datastore: &Locking)
crates/datastore/src/locking_tx_datastore/datastore.rs:1288
↓ 80 callers
Method
build_table_with_new_type
Build a new table with a product type. Adds the type to the module.
crates/lib/src/db/raw_def/v9.rs:642
↓ 79 callers
Function
btree
Returns a btree index algorithm for the columns `cols`.
crates/lib/src/db/raw_def/v9.rs:332
↓ 79 callers
Method
entry
Formats another entry in the larger structure. The formatting for the element / entry itself is provided by the function `entry`.
crates/sats/src/satn.rs:121
↓ 79 callers
Method
get
Returns the [`AlgebraicType`] referred to by `r` within this context.
crates/sats/src/typespace.rs:82
↓ 79 callers
Method
info
(&self)
crates/core/src/host/v8/mod.rs:295
↓ 79 callers
Method
len
(&self)
crates/core/src/host/wasm_common.rs:319
↓ 78 callers
Method
Iter
()
sdks/csharp/src/Table.cs:399
↓ 78 callers
Method
is_empty
Return whether this sum type is empty, that is, has no variants.
crates/sats/src/sum_type.rs:177
↓ 77 callers
Method
idx
(self)
crates/table/src/indexes.rs:92
↓ 76 callers
Method
Contains
<summary> Whether the multidictionary contains any copies of an item. </summary> <param name="item"></param> <returns></returns>
sdks/csharp/src/MultiDictionary.cs:101
↓ 76 callers
Method
as_ref
(&self)
crates/sats/src/hex.rs:52
↓ 76 callers
Method
unit
Returns the unit product type.
crates/sats/src/product_type.rs:89
↓ 74 callers
Method
id
Compute the id from the issuer and subject.
crates/client-api/src/auth.rs:147
↓ 74 callers
Method
index
* Specify the index type for this column * @param algorithm The index algorithm to use
crates/bindings-typescript/src/lib/type_builders.ts:316
↓ 74 callers
Method
spacetime
Runs a spacetime CLI command and returns stdout as a string. Panics if the command fails. Callers should pass `--server` explicitly when the command
crates/smoketests/src/lib.rs:1128
↓ 73 callers
Method
Int
(sbyte value)
crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:27
↓ 73 callers
Method
as_str
(&self)
crates/cli/src/subcommands/init.rs:64
↓ 73 callers
Method
get
( key: K )
crates/bindings-typescript/src/sdk/client_cache.ts:33
↓ 72 callers
Method
any
Registers `handler` to handle requests of any HTTP method at `path`. Panics if `self` already has a handler on at least one method at this path, or i
crates/bindings/src/http.rs:330
↓ 72 callers
Method
deref
(&self)
crates/codegen/src/unrealcpp.rs:5215
↓ 72 callers
Method
into_iter
(self)
crates/commitlog/src/index/indexfile.rs:266
↓ 71 callers
Method
deref
(&'a self)
crates/data-structures/src/slim_slice.rs:219
↓ 71 callers
Method
extend
Adds the fields & [Constraints] from `right` to this [`Header`], renaming duplicated fields with a counter like `a, a => a, a0`.
crates/schema/src/relation.rs:208
↓ 71 callers
Method
find
Find the subscribed row whose `scheduled_id` column value is equal to `col_val`, if such a row is present in the client cache.
modules/sdk-test-procedure-cpp/client/src/module_bindings/scheduled_proc_table_table.rs:139
↓ 71 callers
Method
max
The max UUID (all ones)
crates/bindings-cpp/include/spacetimedb/bsatn/uuid.h:69
↓ 71 callers
Method
optional
* Specify this column as optional
crates/bindings-typescript/src/lib/type_builders.ts:371
↓ 71 callers
Method
to_owned
Converts to a [`ColList`].
crates/primitives/src/col_list.rs:391
↓ 70 callers
Method
Add
(bool collides)
crates/bindings-csharp/BSATN.Runtime.Tests/Tests.cs:331
↓ 69 callers
Method
get
Get a definition in the typespace.
crates/schema/src/type_for_generate.rs:129
↓ 69 callers
Method
logs
Fetches the last N log entries from the database.
crates/smoketests/src/lib.rs:1607
↓ 69 callers
Function
uuid
* @brief Create a Uuid type (128-bit universally unique identifier). * * @return AlgebraicType representing a Uuid * @todo Integrate w
crates/bindings-cpp/include/spacetimedb/bsatn/type_extensions.h:331
↓ 68 callers
Function
Err
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/sum_type.h:174
↓ 67 callers
Method
end
(self)
crates/bindings/src/log_stopwatch.rs:13
↓ 67 callers
Method
len
(&self)
crates/client-api-messages/src/websocket/common.rs:128
↓ 66 callers
Method
build
()
crates/bindings-typescript/tests/connection_manager.test.ts:136
↓ 66 callers
Method
deref
(&self)
crates/codegen/src/csharp.rs:1328
↓ 66 callers
Method
get
(&self)
crates/cli/src/subcommands/subscribe.rs:375
↓ 66 callers
Method
to_le_bytes
(self)
crates/bench/benches/index.rs:304
↓ 64 callers
Method
pointer
Returns the raw row pointer for this row reference.
crates/table/src/table.rs:1905
↓ 64 callers
Method
throw
(self, scope: &PinScope<'scope, '_>)
crates/core/src/host/v8/de.rs:71
↓ 63 callers
Function
toSql
(q: Query<any>)
crates/bindings-typescript/src/lib/query.ts:58
↓ 62 callers
Function
index
(_ctx: &mut HandlerContext, _req: Request)
crates/bindings/tests/pass/table_index_name_conflict.rs:10
↓ 62 callers
Method
user
(&self)
templates/chat-console-rs/src/module_bindings/user_table.rs:32
↓ 61 callers
Method
add_algebraic_type
Add a type to the typespace, along with a type alias declaring its name. This method should only be use for `AlgebraicType`s not corresponding to a Ru
crates/lib/src/db/raw_def/v9.rs:719
↓ 61 callers
Method
into_iter
(self)
crates/schema/src/type_for_generate.rs:226
↓ 61 callers
Method
is_empty
(&self)
crates/client-api-messages/src/websocket/v1.rs:546
↓ 60 callers
Method
autopublish
Sets whether to automatically publish the module on build. Default is true.
crates/smoketests/src/lib.rs:822
↓ 60 callers
Function
insert
( db: &'a RelationalDB, tx: &'a mut MutTx, table_id: TableId, row: &T, )
crates/engine/src/relational_db.rs:2179
↓ 59 callers
Function
deserialize
Deserialize a `T` provided a serde deserializer `D`.
crates/sats/src/de/serde.rs:41
↓ 59 callers
Method
from
()
crates/bindings-typescript/src/server/range.ts:26
↓ 58 callers
Method
block_on
Drive a top-level future to completion on the simulation executor. While the future runs, spawned tasks share the same deterministic scheduler, timer
crates/runtime/src/sim/executor/mod.rs:152
↓ 58 callers
Function
insert
( datastore: &'a Locking, tx: &'a mut MutTxId, table_id: TableId, row: &Produc
crates/datastore/src/locking_tx_datastore/datastore.rs:1432
↓ 58 callers
Method
set
( key: K, value: TableCacheForTableName<RemoteModule, K> )
crates/bindings-typescript/src/sdk/client_cache.ts:42
↓ 57 callers
Method
commit_tx
( &self, tx: MutTx, )
crates/engine/src/relational_db.rs:817
↓ 57 callers
Method
with_index_no_accessor_name
Generates a [RawIndexDefV9] using the supplied `columns` but with no `accessor_name`.
crates/lib/src/db/raw_def/v9.rs:952
← previous
next →
101–200 of 27,764, ranked by callers