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
↓ 2 callers
Method
merge
Merge or union read sets together
crates/datastore/src/locking_tx_datastore/mut_tx.rs:146
↓ 2 callers
Method
merge
(otherRouter: Router)
crates/bindings-typescript/src/server/http_handlers.ts:326
↓ 2 callers
Function
messageFor
(error: unknown)
templates/hangman-react-ts/src/App.tsx:11
↓ 2 callers
Method
metadata
Obtain the [`Metadata`] of this database. `None` if the database is not yet fully initialized.
crates/engine/src/relational_db.rs:439
↓ 2 callers
Method
metrics
(&self)
crates/core/src/host/v8/mod.rs:299
↓ 2 callers
Method
micros
Getters
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/time_duration.h:43
↓ 2 callers
Method
micros
Getters
crates/bindings-cpp/include/spacetimedb/bsatn/time_duration.h:43
↓ 2 callers
Method
micros
()
crates/bindings-typescript/src/lib/time_duration.ts:52
↓ 2 callers
Method
min_committed_offset
Determine the minimum transaction offset in the log. The offset is `None` if the log hasn't been flushed to disk yet.
crates/commitlog/src/lib.rs:226
↓ 2 callers
Function
minimum_release_age
(path: &Path)
tools/ci/src/main.rs:140
↓ 2 callers
Function
mirror_asset_url
(version: &semver::Version, asset_name: &str)
crates/update/src/cli/install.rs:95
↓ 2 callers
Function
module_code_http_disallowed_ip
(addr: &str, port: u16)
crates/smoketests/tests/smoketests/http_egress.rs:8
↓ 2 callers
Function
module_def
()
crates/expr/src/statement.rs:493
↓ 2 callers
Function
module_def
()
crates/schema/src/auto_migrate.rs:2076
↓ 2 callers
Function
module_def_for_view
(name: &str, is_anonymous: bool)
crates/core/src/host/wasm_common/module_host_actor.rs:1908
↓ 2 callers
Method
module_watcher
(&self)
crates/client-api/src/lib.rs:133
↓ 2 callers
Method
ne
(x: any)
crates/bindings-typescript/src/lib/query.ts:486
↓ 2 callers
Method
needs_replacement
(&self)
crates/core/src/host/module_host.rs:507
↓ 2 callers
Function
new_isolate
Returns a new isolate.
crates/core/src/host/v8/mod.rs:1198
↓ 2 callers
Method
new_uuid_v4
(&self)
crates/bindings/src/lib.rs:1127
↓ 2 callers
Method
next
(&mut self)
crates/table/src/fixed_bit_set.rs:304
↓ 2 callers
Function
nextTransferPair
()
templates/keynote-2/src/core/runner.ts:207
↓ 2 callers
Method
next_bsatn_offset
(&self)
crates/table/src/static_layout.rs:315
↓ 2 callers
Method
next_client_name
(&self)
crates/core/src/client/client_connection_index.rs:14
↓ 2 callers
Method
next_elem
(&'a mut self)
crates/core/src/host/v8/de.rs:404
↓ 2 callers
Function
next_server_message
Return the next decoded server message from a v3 websocket stream. A v3 websocket payload can contain multiple consecutive BSATN-encoded v2 server me
crates/cli/src/subcommands/subscribe.rs:617
↓ 2 callers
Function
next_spawn_id
()
crates/guard/src/lib.rs:20
↓ 2 callers
Method
next_tx_offset
(&self)
crates/datastore/src/locking_tx_datastore/replay.rs:144
↓ 2 callers
Method
next_tx_offset
The next transaction offset to be written if [`Self::commit`] was called.
crates/commitlog/src/segment.rs:198
↓ 2 callers
Function
next_vlr_offset
(program: &[Insn], instr_ptr: &mut u16, read_tag: impl Fn(u16) -> u8)
crates/table/src/row_type_visitor.rs:382
↓ 2 callers
Function
nix_injected_commit_hash
()
crates/cli/build.rs:15
↓ 2 callers
Method
no_op_succeeds_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
sdks/rust/tests/test-client/src/module_bindings/no_op_succeeds_reducer.rs:52
↓ 2 callers
Function
no_such_function_log_message
(function_kind: &str, function_name: &str)
crates/core/src/host/module_host.rs:3517
↓ 2 callers
Function
no_such_reducer_or_procedure
Returns an error message for when `reducer` or `procedure` does not exist in `db`.
crates/cli/src/subcommands/call.rs:247
↓ 2 callers
Method
noop_then
( &self, callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk:
sdks/rust/tests/event-table-client/src/module_bindings/noop_reducer.rs:52
↓ 2 callers
Function
normalize_dependency_path
Converts a filesystem path into a dependency path string suitable for Cargo.toml/package.json entries. On Windows, `canonicalize()` can return verbat
crates/smoketests/tests/smoketests/templates.rs:79
↓ 2 callers
Function
normalize_index
Normalize index representation for comparison
modules/module-test-cpp/compare_module_schemas.py:51
↓ 2 callers
Function
normalize_lf
normalize CRLF -> LF for deterministic bytes across OS/checkouts
tools/xtask-llm-benchmark/src/context/hashing.rs:69
↓ 2 callers
Function
normalize_task_selector
"1" | "01" | "001" | "t_001" -> "t_001" "t_000_empty_reducers" | "t_001_basic_tables" -> accepted as-is (full task dir name)
tools/xtask-llm-benchmark/src/bench/runner.rs:1040
↓ 2 callers
Function
normalize_whitespace
Normalizes whitespace by trimming trailing whitespace from each line.
crates/smoketests/src/lib.rs:1932
↓ 2 callers
Function
not
( clause: BooleanExpr<T> )
crates/bindings-typescript/src/lib/query.ts:760
↓ 2 callers
Method
not
(self)
crates/query-builder/src/expr.rs:35
↓ 2 callers
Method
not
()
crates/bindings-typescript/src/lib/query.ts:755
↓ 2 callers
Function
now_secs
()
crates/update/src/update_notice.rs:64
↓ 2 callers
Function
npmrc_minimum_release_age
(path: &Path, expected_minimum_release_age: u64)
tools/ci/src/main.rs:152
↓ 2 callers
Function
nth_name
An injection (input-total one-to-one relation) from u64s to short strings. Provides some variation in length.
crates/bench/src/schemas.rs:335
↓ 2 callers
Method
nullIfZero
(addr: ConnectionId)
crates/bindings-typescript/src/lib/connection_id.ts:40
↓ 2 callers
Method
num_entries
Searches for first 0-key, to count number of entries
crates/commitlog/src/index/indexfile.rs:74
↓ 2 callers
Method
num_granules_available
Returns the number of granules available for allocation.
crates/table/src/page.rs:535
↓ 2 callers
Method
num_pages
Returns the number of pages storing the physical rows of this table.
crates/table/src/table.rs:2416
↓ 2 callers
Method
num_rows
(&self)
crates/client-api-messages/src/websocket/v1.rs:550
↓ 2 callers
Function
num_rows_in
(rows: &SubscriptionRows)
crates/core/src/client/messages.rs:567
↓ 2 callers
Method
object_file_path
Get the path of object `hash` in the target object repo. Returns `None` if the file already exists, or we have a parent repo, and the object exists t
crates/snapshot/src/remote.rs:536
↓ 2 callers
Method
offset_index_len
Compute the length in bytes of an offset index based on the settings in `self`.
crates/commitlog/src/lib.rs:151
↓ 2 callers
Function
offset_to_ptr_mut
(row_data: &mut Bytes, offset: PageOffset)
crates/table/src/page.rs:1091
↓ 2 callers
Function
old_fixture_wasm
()
crates/smoketests/tests/smoketests/publish_upgrade_prompt.rs:12
↓ 2 callers
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/users_table.rs:69
↓ 2 callers
Method
on_ended
(&mut self)
sdks/rust/src/subscription.rs:434
↓ 2 callers
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
templates/chat-console-rs/src/module_bindings/user_table.rs:56
↓ 2 callers
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/left_source_table.rs:56
↓ 2 callers
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/left_source_table.rs:86
↓ 2 callers
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/users_table.rs:86
↓ 2 callers
Method
one_connection_id
(&self)
sdks/rust/tests/test-client/src/module_bindings/one_connection_id_table.rs:32
↓ 2 callers
Method
one_identity
(&self)
sdks/rust/tests/test-client/src/module_bindings/one_identity_table.rs:32
↓ 2 callers
Method
one_u_16
(&self)
sdks/rust/tests/test-client/src/module_bindings/one_u_16_table.rs:32
↓ 2 callers
Function
op_supports_type
Is this type compatible with this binary operator?
crates/expr/src/lib.rs:164
↓ 2 callers
Method
open_entry_reader
Open the file keyed with `file_id` for reading. It will be decompressed based on the file's magic bytes. It will be opened with [`o_rdonly`].
crates/fs-utils/src/dir_trie.rs:190
↓ 2 callers
Method
open_entry_writer
Open the file keyed with `file_id` for writing. If `compress_type` is [`CompressType::None`], the file will be written uncompressed. The file will b
crates/fs-utils/src/dir_trie.rs:215
↓ 2 callers
Method
open_segment_reader
(&self, offset: u64)
crates/commitlog/src/repo/mod.rs:175
↓ 2 callers
Method
open_segment_reader
(&self, offset: u64)
crates/commitlog/src/repo/fs.rs:306
↓ 2 callers
Method
open_segment_writer
(&self, offset: u64)
crates/commitlog/src/repo/mem.rs:82
↓ 2 callers
Function
openrouter_model_id
Map a vendor + bare model id to the `vendor/model` namespace that OpenRouter requires. If the model id already contains `/` it is returned as-is (e.g.
tools/xtask-llm-benchmark/src/llm/provider.rs:151
↓ 2 callers
Method
or
( other: BooleanExpr<OtherTable> & RequireSameAndOrTable<Table, OtherTable> )
crates/bindings-typescript/src/lib/query.ts:746
↓ 2 callers
Method
or_
crates/bindings-cpp/include/spacetimedb/query_builder/expr.h:207
↓ 2 callers
Function
order_key
(kind: &str)
tools/xtask-llm-benchmark/src/context/combine.rs:272
↓ 2 callers
Function
os_str_starts_with
(s: &OsStr, pref: &str)
crates/update/src/proxy.rs:183
↓ 2 callers
Function
output_stdout
(output: &Output)
crates/smoketests/tests/smoketests/cli/auth.rs:8
↓ 2 callers
Function
overlay_unity_meta_skeleton
(pkg_id: &str)
tools/regen/src/csharp.rs:68
↓ 2 callers
Function
override_nuget_package_from_project
Override nuget config to use a local NuGet package built from a specific .NET project.
crates/smoketests/tests/smoketests/quickstart.rs:140
↓ 2 callers
Function
override_with_outfile
(filename: &String, outfilename: &PathBuf, outfile: &mut File)
crates/sqltest/src/main.rs:364
↓ 2 callers
Function
pack
(baseline_name: String, target_dir: &Path)
crates/bench/src/bin/summarize.rs:72
↓ 2 callers
Function
package_json_string_value
(package_json: &Value, key: &str)
tools/ci/src/main.rs:106
↓ 2 callers
Function
page_hash_save_get
(page: &mut Page)
crates/snapshot/src/remote.rs:993
↓ 2 callers
Function
panic_with_seed
(seed: u64, payload: Box<dyn core::any::Any + Send>)
crates/runtime/src/sim_std.rs:64
↓ 2 callers
Function
parenthesize
(s: string)
crates/bindings-typescript/src/lib/filter.ts:128
↓ 2 callers
Function
parseAlphaList
( raw: string | number | string[] | undefined, label: string, )
templates/keynote-2/src/config.ts:210
↓ 2 callers
Function
parseBooleanLike
(raw: string | boolean)
templates/keynote-2/src/config.ts:142
↓ 2 callers
Function
parseNumericTuple
( raw: string | string[] | undefined, label: string, expectedLength: number, )
templates/keynote-2/src/opts.ts:225
↓ 2 callers
Function
parseStdbCompression
( raw: string, label: string, )
templates/keynote-2/src/config.ts:151
↓ 2 callers
Function
parseStdbUrl
(rawUrl: string)
templates/keynote-2/src/core/stdbUrl.ts:1
↓ 2 callers
Function
parse_abi_version
(ver: &str)
crates/core/src/host/wasm_common/abi.rs:20
↓ 2 callers
Function
parse_client_lang
(lang: &Option<String>)
crates/cli/src/subcommands/init.rs:1937
↓ 2 callers
Function
parse_duration
(input: ParseStream)
crates/bindings-macro/src/lib.rs:236
↓ 2 callers
Function
parse_expr
Parse a scalar expression
crates/sql-parser/src/parser/mod.rs:219
↓ 2 callers
Function
parse_float
Parse a floating point literal into an [AlgebraicValue]
crates/expr/src/lib.rs:200
↓ 2 callers
Function
parse_literal
Parse a literal expression
crates/sql-parser/src/parser/mod.rs:331
↓ 2 callers
Function
parse_loop
A loop which reads raw WS messages from `recv`, parses them into domain types, and pushes the [`ParsedMessage`]s into `send`.
sdks/rust/src/db_connection.rs:1355
↓ 2 callers
Function
parse_msg_json
Parse a v1 text websocket message as JSON.
crates/cli/src/subcommands/subscribe.rs:443
↓ 2 callers
Function
parse_proj
Parse a column projection
crates/sql-parser/src/parser/mod.rs:198
↓ 2 callers
Function
parse_projection
Parse the items of a SELECT clause
crates/sql-parser/src/parser/mod.rs:112
← previous
next →
4,501–4,600 of 27,764, ranked by callers