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
↓ 1 callers
Function
exec_view_pk_left_semijoin
(db_name: &str)
sdks/rust/tests/procedural-view-pk-client/src/test_handlers.rs:158
↓ 1 callers
Function
exec_view_pk_on_update
Subscribe to a query builder view whose underlying table has a primary key. Ensures the rust sdk emits an `on_update` callback and that the client rec
sdks/rust/tests/view-pk-client/src/test_handlers.rs:88
↓ 1 callers
Function
exec_view_pk_right_semijoin
(db_name: &str)
sdks/rust/tests/procedural-view-pk-client/src/test_handlers.rs:186
↓ 1 callers
Function
exec_view_pk_semijoin_two_sender_views_query_builder
Subscribe to a semijoin between two views with primary keys. Ensures: 1. A semijoin subscription involving a view is valid 2. The rust sdk emits an `
sdks/rust/tests/view-pk-client/src/test_handlers.rs:225
↓ 1 callers
Function
exec_with_options
This function can be used when calling publish programatically rather than straight from the CLI, like we do in `spacetime dev`. When calling from `sp
crates/cli/src/subcommands/publish.rs:375
↓ 1 callers
Function
execute_dml_stmt
A utility for executing a sql dml statement
crates/query/src/lib.rs:92
↓ 1 callers
Function
execute_select_stmt
A utility for executing a sql select statement
crates/query/src/lib.rs:72
↓ 1 callers
Method
execute_view_calls
Executes view calls and accumulate results. Returns early if any call traps or fails.
crates/core/src/host/wasm_common/module_host_actor.rs:1424
↓ 1 callers
Method
exit_module_host
(&self, replica_id: u64, timeout: Duration)
crates/core/src/host/host_controller.rs:500
↓ 1 callers
Function
exit_on_panic
()
sdks/rust/tests/procedural-view-pk-client/src/main.rs:3
↓ 1 callers
Function
exit_on_panic
Register a panic hook which will exit the process whenever any thread panics.
sdks/rust/tests/event-table-client/src/main.rs:4
↓ 1 callers
Function
exit_on_panic
Register a panic hook which will exit the process whenever any thread panics.
sdks/rust/tests/test-client/src/main.rs:4
↓ 1 callers
Function
exit_on_panic
()
sdks/rust/tests/case-conversion-client/src/main.rs:17
↓ 1 callers
Function
exit_on_panic
()
sdks/rust/tests/procedure-concurrency-client/src/main.rs:3
↓ 1 callers
Function
exit_on_panic
Register a panic hook which will exit the process whenever any thread panics.
sdks/rust/tests/view-pk-client/src/main.rs:4
↓ 1 callers
Function
exit_on_panic
Register a panic hook which will exit the process whenever any thread panics.
sdks/rust/tests/view-client/src/main.rs:4
↓ 1 callers
Function
exit_on_panic
Register a panic hook which will exit the process whenever any thread panics.
sdks/rust/tests/procedure-client/src/main.rs:4
↓ 1 callers
Method
exited
(&self)
crates/core/src/host/module_host.rs:3099
↓ 1 callers
Function
expand_leaf
Replaces the leaf node determined by `table_id` and `alias` with the subtree `with`. Ensures the expanded tree stays left deep.
crates/expr/src/rls.rs:448
↓ 1 callers
Function
expand_views
After we collect all the necessary view definitions and run alpha conversion, this function handles the actual replacement of the view with its defini
crates/expr/src/rls.rs:291
↓ 1 callers
Method
expand_views
If a view has private arguments, its backing table has an `arg_hash` column. This column tracks which rows belong to which argument tuple. As a resul
crates/physical-plan/src/plan.rs:569
↓ 1 callers
Function
expect_table_type
Returns an error if the input type is not a table type or relvar
crates/expr/src/check.rs:167
↓ 1 callers
Method
explicit_names
(&self)
crates/lib/src/db/raw_def/v10.rs:661
↓ 1 callers
Method
explicit_names_mut
Get mutable access to the case conversion policy, creating it if missing.
crates/lib/src/db/raw_def/v10.rs:879
↓ 1 callers
Method
exportGroup
* Bundle multiple reducers, procedures, etc into one value to export. * The name they will be exported with is their corresponding key in the `expo
crates/bindings-typescript/src/server/schema.ts:547
↓ 1 callers
Method
extend
(&mut self, iter: T)
crates/primitives/src/col_list.rs:79
↓ 1 callers
Function
extend_trees_for_algebraic_type
Extend `sub_trees` with checks for `ty`. `current_offset` should be passed as `&mut 0` upon entry to the row-type, and will be incremented as appropr
crates/table/src/static_bsatn_validator.rs:80
↓ 1 callers
Method
extract
Extract the [`Metadata`] of a single [`StoredCommit`] from the given reader. Note that this decodes the commit due to checksum verification. Like [`S
crates/commitlog/src/commit.rs:367
↓ 1 callers
Function
extractAttributes
* Extract attributes from an OTLP log record. * The structure varies by collector version and export format.
tools/llm-sequential-upgrade/parse-telemetry.mjs:254
↓ 1 callers
Function
extractResourceAttributes
* Extract resource-level attributes from an OTLP record. * These contain OTEL_RESOURCE_ATTRIBUTES values (session.id, run.id).
tools/llm-sequential-upgrade/parse-telemetry.mjs:289
↓ 1 callers
Function
extract_access_change_info
( table: <TableDef as ModuleDefLookup>::Key<'_>, plan: &super::AutoMigratePlan, )
crates/schema/src/auto_migrate/formatter.rs:512
↓ 1 callers
Method
extract_audience
(&self)
crates/bindings/src/lib.rs:1646
↓ 1 callers
Function
extract_benchmark_data
(path: &Path)
crates/bench/src/bin/summarize.rs:433
↓ 1 callers
Function
extract_column_changes
( table: <TableDef as ModuleDefLookup>::Key<'_>, plan: &super::AutoMigratePlan, )
crates/schema/src/auto_migrate/formatter.rs:555
↓ 1 callers
Function
extract_columns
(expr: &PhysicalExpr, schema: Option<&Arc<TableSchema>>, columns: &mut Vec<String>)
crates/subscription/src/lib.rs:354
↓ 1 callers
Function
extract_constraint_info
( constraint: <crate::def::ConstraintDef as ModuleDefLookup>::Key<'_>, module_def: &ModuleDef, )
crates/schema/src/auto_migrate/formatter.rs:460
↓ 1 callers
Function
extract_descriptions
(wasm_file: &Path)
crates/cli/src/subcommands/generate.rs:735
↓ 1 callers
Function
extract_new_columns
( table: <TableDef as ModuleDefLookup>::Key<'_>, plan: &super::AutoMigratePlan, )
crates/schema/src/auto_migrate/formatter.rs:599
↓ 1 callers
Function
extract_sats_type
( ident: &'a syn::Ident, generics: &'a syn::Generics, attrs: &'a [syn::Attribute], data: SatsT
crates/bindings-macro/src/sats.rs:98
↓ 1 callers
Method
extract_schema
(&self)
crates/testing/src/modules.rs:211
↓ 1 callers
Function
extract_table_info
Data extraction functions (these replace the original print functions' data gathering logic)
crates/schema/src/auto_migrate/formatter.rs:286
↓ 1 callers
Function
extract_trapped
Moves out the `trapped: bool` from `res`.
crates/core/src/host/module_host.rs:565
↓ 1 callers
Function
extract_ts_bindings_version
(path: &Path)
crates/cli/build.rs:531
↓ 1 callers
Function
extract_view_return_row_type
If `ty` is a supported view return type, returns the row type `T`.
crates/bindings-macro/src/view.rs:117
↓ 1 callers
Function
extract_watch_dirs
Extract unique watch directories from publish configs
crates/cli/src/subcommands/dev.rs:1533
↓ 1 callers
Function
extract_workspace_metadata
(path: &Path)
crates/cli/build.rs:490
↓ 1 callers
Function
fail
(_ctx: &ReducerContext)
crates/smoketests/modules/panic-error/src/lib.rs:4
↓ 1 callers
Method
failure_reason
Extract a human-readable failure reason from the notes.
tools/xtask-llm-benchmark/src/eval/types.rs:20
↓ 1 callers
Function
fetch
(url: URL | string, init: RequestOptions = {})
crates/bindings-typescript/src/server/http_internal.ts:42
↓ 1 callers
Function
fetchPeople
()
templates/nextjs-ts/lib/spacetimedb-server.ts:17
↓ 1 callers
Function
fetchPeople
()
templates/tanstack-ts/src/lib/spacetimedb-server.ts:10
↓ 1 callers
Function
fetchPeople
()
templates/remix-ts/app/lib/spacetimedb.server.ts:17
↓ 1 callers
Function
fetchRooms
()
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/components/RoomList.tsx:11
↓ 1 callers
Method
fetch_failures
Fetch failure results from `GET /api/llm-benchmark-results?failures=true`.
tools/xtask-llm-benchmark/src/api/client.rs:262
↓ 1 callers
Function
fetch_latest_release_version
Fetch the latest release version from GitHub, falling back to the mirror. Returns `None` if both sources are unreachable.
crates/update/src/cli/install.rs:80
↓ 1 callers
Method
fetch_run_dates
Fetch available run dates from `GET /api/llm-benchmark-results?dates=true`.
tools/xtask-llm-benchmark/src/api/client.rs:231
↓ 1 callers
Function
fetch_ws_token
(host: &Uri, auth_token: &str)
sdks/rust/src/websocket.rs:263
↓ 1 callers
Method
field_as_str
Interprets the value at field of `self` identified by `index` as a string slice.
crates/sats/src/product_value.rs:179
↓ 1 callers
Method
file_size
(&self)
crates/fs-utils/src/compression.rs:89
↓ 1 callers
Method
filename_prefix
The prefix before the first `.` of a logfile name.
crates/paths/src/server.rs:81
↓ 1 callers
Function
fill_page_with_fixed_len_collect_row_pointers
( pool: &PagePool, pages: &mut Pages, visitor: &impl VarLenMembers, val: &R, )
crates/table/benches/page_manager.rs:248
↓ 1 callers
Function
filter
Performs a ranged scan using the range arguments `B` in `Tbl` using `Idx`. The type parameter `K` is either `()` or [`SingleBound`] and is used to wo
crates/bindings/src/table.rs:977
↓ 1 callers
Function
filter_routes
Routes to run: when `model_filter` is set (from --models), only routes whose vendor and model are in that filter are included; vendors not in the filt
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:600
↓ 1 callers
Function
filter_tabs_for_lang
Filter `<Tabs>` blocks to only include the tab matching the target language. This removes noise from other languages and helps the LLM focus on releva
tools/xtask-llm-benchmark/src/context/combine.rs:77
↓ 1 callers
Method
find
(&self, col_val: &Col)
sdks/rust/src/client_cache.rs:561
↓ 1 callers
Method
find
Find the subscribed row whose `person_2_id` column value is equal to `col_val`, if such a row is present in the client cache.
sdks/rust/tests/case-conversion-client/src/module_bindings/person_2_table.rs:124
↓ 1 callers
Function
findGradingFiles
(baseDir: string)
tools/llm-oneshot/scripts/summarize-grades.ts:88
↓ 1 callers
Function
findInBuild
(filename)
docs/scripts/generate-llms.mjs:17
↓ 1 callers
Function
findManifests
( dir: string )
tools/templates/update-template-jsons.ts:87
↓ 1 callers
Function
find_actual_expected
Parse actual/expected parameter numbers from the invalid args response text.
crates/cli/src/subcommands/call.rs:201
↓ 1 callers
Function
find_all_global_json
(dir: &Path)
tools/ci/src/main.rs:51
↓ 1 callers
Function
find_available_port
Find an available port starting from the requested port. Returns the first port that is available on both IPv4 and IPv6.
crates/standalone/src/subcommands/start.rs:433
↓ 1 callers
Function
find_bench_root
()
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:745
↓ 1 callers
Method
find_by_unique_index
( &'this self, unique_index_name: &'static str, key: &'_ dyn std::any::Any, )
sdks/rust/src/client_cache.rs:304
↓ 1 callers
Function
find_collapse
First tSec where TPS drops below threshold_pct% of peak. Returns None if it never collapses.
templates/keynote-2/scripts/bench-stats.py:80
↓ 1 callers
Function
find_config_dir
Find the config directory by walking up from start_dir looking for spacetime.json.
crates/cli/src/spacetime_config.rs:887
↓ 1 callers
Function
find_csproj
(dir: &Path)
crates/smoketests/tests/smoketests/templates.rs:248
↓ 1 callers
Function
find_death
First tSec where TPS hits 0 and stays 0 for hold_sec seconds. Returns None if never dies.
templates/keynote-2/scripts/bench-stats.py:101
↓ 1 callers
Function
find_git_hash
()
crates/lib/build.rs:32
↓ 1 callers
Function
find_git_hash
()
crates/cli/build.rs:41
↓ 1 callers
Function
find_match_by_sorted_words
(iter_names: &[&'c str], lookup: &str)
crates/cli/src/edit_distance.rs:169
↓ 1 callers
Function
find_non_path_spacetimedb_deps
(dev_deps, cargo_toml_path)
tools/crate-publish-checks.py:6
↓ 1 callers
Function
find_only_subdir
(dir: &Path)
tools/regen/src/csharp.rs:127
↓ 1 callers
Method
find_page_with_space_for_row
Find a page with sufficient available space to store a row of size `fixed_row_size` containing `num_var_len_granules` granules of var-len data. Retri
crates/table/src/pages.rs:198
↓ 1 callers
Function
find_range_to_insert_offset
( ranges: &OffsetRanges, offset: PageOffset, fixed_row_size: Size, )
crates/bench/benches/delete_table.rs:252
↓ 1 callers
Function
find_repo_root
()
tools/license-check/main.rs:15
↓ 1 callers
Function
find_result_json
(runs_dir: &Path)
tools/ci/src/keynote_bench.rs:216
↓ 1 callers
Method
find_row
(&'this self, key: &'_ dyn std::any::Any)
sdks/rust/src/client_cache.rs:630
↓ 1 callers
Function
find_spacetimedb_dependencies
(crate_metadata, crate)
tools/find-publish-list.py:18
↓ 1 callers
Method
find_st_index_accessor_row
Look up an `st_index_accessor` row by its accessor name
crates/datastore/src/locking_tx_datastore/state_view.rs:120
↓ 1 callers
Method
find_st_index_accessor_row_by_index_name
Look up an `st_index_accessor` row by its canonical index name.
crates/datastore/src/locking_tx_datastore/state_view.rs:132
↓ 1 callers
Method
find_st_table_accessor_row
Look up an `st_table_accessor` row by its accessor name
crates/datastore/src/locking_tx_datastore/state_view.rs:108
↓ 1 callers
Method
find_st_table_row
Look up the `st_table` row which describes `table_id`. Default method calls `iter_by_col_eq`. The implementation for [`super::committed_state::Commit
crates/datastore/src/locking_tx_datastore/state_view.rs:91
↓ 1 callers
Method
find_table_def
Find a [`RawTableDefV9`] by name in this raw module def
crates/lib/src/db/raw_def/v9.rs:104
↓ 1 callers
Method
find_table_id
Return the [TableId] for a relvar in the expression
crates/expr/src/expr.rs:337
↓ 1 callers
Method
find_table_schema
Returns the [`TableSchema`] for a return label. Returns `None` if the plan does not return this label.
crates/physical-plan/src/plan.rs:1137
↓ 1 callers
Function
find_target_doc_json
(crate_name: &str)
tools/xtask-llm-benchmark/src/context/paths.rs:118
↓ 1 callers
Function
find_tasks_file
(task_root: &Path, lang: Lang)
tools/xtask-llm-benchmark/src/llm/prompt.rs:107
↓ 1 callers
Method
find_view_def
Find a [`RawViewDefV9`] by name in this raw module def
crates/lib/src/db/raw_def/v9.rs:111
↓ 1 callers
Method
finish_determinism_check
(&self)
crates/runtime/src/sim/rng.rs:170
← previous
next →
8,501–8,600 of 27,764, ranked by callers