MCPcopy Create free account

hub / github.com/clockworklabs/SpacetimeDB / functions

Functions27,764 in github.com/clockworklabs/SpacetimeDB

↓ 1 callersMethodrestart
Restart the server with the same data directory. This stops the current server process and starts a new one with the same data directory, preserving
crates/guard/src/lib.rs:179
↓ 1 callersFunctionrestoreSnapshot
( ctx: any, canvasId: bigint, snapshotData: string )
tools/llm-oneshot/apps/paint-app/typescript/opus-4-5/spacetime/paint-app-20260112-154500/backend/spacetimedb/src/index.ts:1899
↓ 1 callersFunctionresultStatus
(result: Types.RoundResult)
templates/hangman-react-ts/src/App.tsx:95
↓ 1 callersFunctionresult_tps
(result_json: &str)
tools/ci/src/keynote_bench.rs:243
↓ 1 callersFunctionresume_segment_writer
Open the existing segment at `offset` for writing. This will traverse the segment in order to find the offset of the next commit to write to it, whic
crates/commitlog/src/repo/mod.rs:299
↓ 1 callersFunctionretry
(args: RetryArgs)
tools/ci/src/cla_assistant.rs:61
↓ 1 callersFunctionretry_for_pr
(client: &GithubClient, repo: &Repo, pr_number: u64)
tools/ci/src/cla_assistant.rs:96
↓ 1 callersFunctionreturnBuf
(buf: ResizableBuffer)
crates/bindings-typescript/src/server/runtime.ts:1056
↓ 1 callersMethodreturn_js_procedure_instance
(&self, lease: ModuleInstanceLease<JsProcedureInstance>)
crates/core/src/host/module_host.rs:2623
↓ 1 callersMethodreturn_table
The table or view returned by this plan, if it returns whole rows.
crates/subscription/src/lib.rs:492
↓ 1 callersMethodreturned_count
Returns the number of objects returned to the pool.
crates/data-structures/src/object_pool.rs:121
↓ 1 callersMethodreturns_distinct_values
Does this plan return distinct values for these columns?
crates/physical-plan/src/plan.rs:880
↓ 1 callersMethodreturns_view_table
Does this plan select or return whole (unprojected) rows from a view?
crates/physical-plan/src/plan.rs:131
↓ 1 callersFunctionrevealedLetterCount
(answer: string, guessedLetters: string)
templates/hangman-react-ts/spacetimedb/src/index.ts:142
↓ 1 callersMethodreverse_lookup
(&self, _database_identity: &Identity)
crates/client-api/src/routes/database.rs:1823
↓ 1 callersFunctionrewriteDocLinks
( content: string, quickstartDir: string, docsRoot: string )
tools/templates/generate-template-readmes.ts:111
↓ 1 callersFunctionrhs_eq_constants
Collect RHS predicates of the form `rhs.col = runtime_constant`. This is intentionally narrow: only equality predicates over RHS fields are useful fo
crates/physical-plan/src/rules.rs:658
↓ 1 callersFunctionrhs_eq_constants_from_filters
Collect equality constants from a list of filter expressions.
crates/physical-plan/src/rules.rs:682
↓ 1 callersMethodrls_rules_for_table
(&self, table_id: TableId)
crates/expr/src/rls.rs:523
↓ 1 callersMethodroll_back_var_len_allocations
Rolls back all the var-len allocations made when writing the row. # Safety The `visitor` must be proper for the row type.
crates/table/src/bflatn_to.rs:196
↓ 1 callersMethodrollback_downgrade
Roll back this transaction, discarding its changes. The lock on the committed state is converted into a read lock, and returned as a new read-only tra
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2249
↓ 1 callersMethodrollback_on_err
Roll back transaction `tx` if `res` is `Err`, otherwise return it alongside the `Ok` value.
crates/engine/src/relational_db.rs:993
↓ 1 callersMethodrollback_pending_schema_change
( &mut self, seq_state: &mut SequencesState, change: PendingSchemaChange, )
crates/datastore/src/locking_tx_datastore/committed_state.rs:688
↓ 1 callersFunctionrose_tree_to_visitor_program
Compile the [`VarLenRoseTree`] to [`VarLenVisitorProgram`].
crates/table/src/row_type_visitor.rs:207
↓ 1 callersFunctionround_to_micros
(st: SystemTime)
crates/sats/src/timestamp.rs:275
↓ 1 callersFunctionrouter_impl
(args: TokenStream, original_function: &ItemFn)
crates/bindings-macro/src/http.rs:79
↓ 1 callersFunctionroutesOverlap
(a: RouteSpec, b: RouteSpec)
crates/bindings-typescript/src/server/http_handlers.ts:113
↓ 1 callersFunctionroutes_overlap
(a: &HttpRouteDef, b: &HttpRouteDef)
crates/schema/src/def/validate/v10.rs:378
↓ 1 callersMethodrow_count
(&self, table_id: TableId)
crates/core/src/subscription/tx.rs:134
↓ 1 callersMethodrow_count
Returns an approximate row count for a particular table. TODO: Unify this with `Relation::row_count` when more statistics are added.
crates/engine/src/relational_db.rs:650
↓ 1 callersFunctionrow_for_run
(run, warmup_sec, tail_sec)
templates/keynote-2/scripts/bench-stats.py:165
↓ 1 callersMethodrow_level_security_mut
Get mutable access to the row-level security section, creating it if missing.
crates/lib/src/db/raw_def/v10.rs:859
↓ 1 callersMethodrow_limit
Read the value of [ST_VARNAME_ROW_LIMIT] from `st_var`
crates/engine/src/relational_db.rs:1541
↓ 1 callersMethodrow_total_granules
Returns the total number of granules used by the fixed row at `fixed_row_offset` and lasting `fixed_row_size` bytes where `var_len_visitor` is used to
crates/table/src/page.rs:1625
↓ 1 callersMethodrow_type_for_table
(&self, table_id: TableId)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:921
↓ 1 callersMethodrow_type_for_table_mut_tx
This function is used to get the `ProductType` of the rows in a particular table. This will be the `ProductType` as viewed through the lens of the cu
crates/datastore/src/locking_tx_datastore/datastore.rs:492
↓ 1 callersFunctionrow_type_to_tree
Construct a `Tree` from `ty`. See [`extend_trees_for_algebraic_type`] for more details.
crates/table/src/static_bsatn_validator.rs:47
↓ 1 callersFunctionrpcGetAccount
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/postgres-rpc-server.ts:80
↓ 1 callersFunctionrpcGetAccount
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/cockroach-rpc-server.ts:80
↓ 1 callersFunctionrpcGetAccount
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/supabase-rpc-server.ts:81
↓ 1 callersFunctionrpcGetAccount
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/sqlite-rpc-server.ts:94
↓ 1 callersFunctionrpcGetAccount
(args: Record<string, unknown>)
templates/keynote-2/bun/bun-server.ts:162
↓ 1 callersFunctionrpcHealthCheck
(baseUrl: string)
templates/keynote-2/src/init/init_rpc_servers.ts:10
↓ 1 callersFunctionrpcSeed
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/postgres-rpc-server.ts:152
↓ 1 callersFunctionrpcSeed
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/cockroach-rpc-server.ts:152
↓ 1 callersFunctionrpcSeed
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/supabase-rpc-server.ts:155
↓ 1 callersFunctionrpcSeed
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/sqlite-rpc-server.ts:166
↓ 1 callersFunctionrpcSeed
(args: Record<string, unknown>)
templates/keynote-2/bun/bun-server.ts:62
↓ 1 callersFunctionrpcTransfer
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/postgres-rpc-server.ts:30
↓ 1 callersFunctionrpcTransfer
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/cockroach-rpc-server.ts:30
↓ 1 callersFunctionrpcTransfer
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/supabase-rpc-server.ts:30
↓ 1 callersFunctionrpcTransfer
(args: Record<string, unknown>)
templates/keynote-2/src/rpc-servers/sqlite-rpc-server.ts:43
↓ 1 callersFunctionrpcTransfer
(args: Record<string, unknown>)
templates/keynote-2/bun/bun-server.ts:111
↓ 1 callersFunctionrpcVerify
()
templates/keynote-2/src/rpc-servers/postgres-rpc-server.ts:98
↓ 1 callersFunctionrpcVerify
()
templates/keynote-2/src/rpc-servers/cockroach-rpc-server.ts:98
↓ 1 callersFunctionrpcVerify
()
templates/keynote-2/src/rpc-servers/supabase-rpc-server.ts:99
↓ 1 callersFunctionrpcVerify
()
templates/keynote-2/src/rpc-servers/sqlite-rpc-server.ts:113
↓ 1 callersFunctionrpcVerify
()
templates/keynote-2/bun/bun-server.ts:186
↓ 1 callersFunctionrun
(seconds: number)
templates/keynote-2/src/core/runner.ts:143
↓ 1 callersMethodrun
(self, mut cmd: mpsc::UnboundedReceiver<Cmd>)
crates/core/src/database_logger.rs:468
↓ 1 callersMethodrun
(mut self)
crates/core/src/host/scheduler.rs:327
↓ 1 callersMethodrun
(mut self)
crates/core/src/subscription/module_subscription_manager.rs:1844
↓ 1 callersMethodrun
Read messages from `snapshot_requests` indefinitely. For each [Request::TakeSnapshot] message, a snapshot of `database_state` is taken. The offset of
crates/engine/src/snapshot.rs:199
↓ 1 callersMethodrun
(self, transactions_rx: async_channel::Receiver<PreparedTx<Txdata<T>>>)
crates/durability/src/imp/local.rs:256
↓ 1 callersMethodrun
(self)
crates/testing/src/sdk.rs:87
↓ 1 callersMethodrun
Run the snapshot fetcher, returning [`Stats`] of what it did. If `dry_run` is `true`, no modifications will be made to the object repository. This is
crates/snapshot/src/remote.rs:300
↓ 1 callersFunctionrunBenchmark
(system: ConnectorKey)
templates/keynote-2/src/demo.ts:261
↓ 1 callersFunctionrunBenchmarkOther
( system: ConnectorKey, )
templates/keynote-2/src/demo.ts:232
↓ 1 callersFunctionrunCargoAndAppend
({ cwd, outFilePath })
docs/scripts/generate-cli-docs.mjs:13
↓ 1 callersFunctionrunOne
(args: CliArgs, scenario: 'stress' | 'realistic')
tools/llm-sequential-upgrade/perf-benchmark/src/main.ts:68
↓ 1 callersFunctionrunPrep
Subprocess `pnpm run prep` to reset DB state. Inherits stdio so output is visible.
templates/keynote-2/src/cli.ts:140
↓ 1 callersFunctionrunRealisticPostgres
(cfg: PgConfig, opts: RealisticOpts)
tools/llm-sequential-upgrade/perf-benchmark/src/scenarios/realistic-chat.ts:40
↓ 1 callersFunctionrunRealisticSpacetime
(cfg: StdbConfig, opts: RealisticOpts)
tools/llm-sequential-upgrade/perf-benchmark/src/scenarios/realistic-chat.ts:102
↓ 1 callersFunctionrunStressPostgres
(cfg: PgConfig, opts: StressOpts)
tools/llm-sequential-upgrade/perf-benchmark/src/scenarios/stress-throughput.ts:38
↓ 1 callersFunctionrunStressSpacetime
(cfg: StdbConfig, opts: StressOpts)
tools/llm-sequential-upgrade/perf-benchmark/src/scenarios/stress-throughput.ts:168
↓ 1 callersFunctionrun_all_clap_subcommands
(skips: &[String])
tools/ci/src/main.rs:378
↓ 1 callersFunctionrun_all_for_model_async_for_lang
(cfg: &BenchRunContext<'_>)
tools/xtask-llm-benchmark/src/bench/runner.rs:476
↓ 1 callersMethodrun_all_ready
Drain the runnable queue, selecting tasks in deterministic RNG order. Paused-node tasks are diverted into that node's paused buffer instead of being
crates/runtime/src/sim/executor/mod.rs:510
↓ 1 callersFunctionrun_analysis
( outcomes: &[RunOutcome], lang: &str, mode: &str, model_name: &str, bench_root: &Path,
tools/xtask-llm-benchmark/src/bench/analysis.rs:10
↓ 1 callersMethodrun_async
An async task which does [`Self::advance_one_message_async`] in a loop. Called by the autogenerated `DbConnection` method of the same name.
sdks/rust/src/db_connection.rs:696
↓ 1 callersMethodrun_async_job
Run an async job on this executor and return its result.
crates/core/src/util/jobs.rs:364
↓ 1 callersMethodrun_background_task
(&self)
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/mod.rs:392
↓ 1 callersMethodrun_background_task
(&self)
sdks/rust/tests/event-table-client/src/module_bindings/mod.rs:335
↓ 1 callersMethodrun_background_task
(&self)
sdks/rust/tests/test-client/src/module_bindings/mod.rs:4445
↓ 1 callersMethodrun_background_task
(&self)
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/mod.rs:393
↓ 1 callersMethodrun_background_task
(&self)
sdks/rust/tests/view-pk-client/src/module_bindings/mod.rs:459
↓ 1 callersMethodrun_background_task
(&self)
sdks/rust/tests/view-client/src/module_bindings/mod.rs:435
↓ 1 callersMethodrun_background_task
(&self)
sdks/rust/tests/procedure-client/src/module_bindings/mod.rs:402
↓ 1 callersFunctionrun_benches
have to re-export `main`, it's not marked as `pub` in the macro
crates/bench/benches/callgrind.rs:606
↓ 1 callersFunctionrun_benchmark
(module: &BenchmarkModule, server_url: &str, runs_dir: &Path)
tools/ci/src/keynote_bench.rs:184
↓ 1 callersFunctionrun_benchmarks
Core benchmark runner used by both `run` and `ci-quickfix`
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:217
↓ 1 callersFunctionrun_blocking
Synchronously run an async future from a non-async function. - If we're already inside a Tokio runtime, we switch to the blocking pool and `block_on`
crates/cli/src/tasks/javascript.rs:33
↓ 1 callersFunctionrun_capture
Run a command and return captured stdout as UTF-8 string.
tools/generate-client-api/src/main.rs:29
↓ 1 callersFunctionrun_client
(run_command: &str, client_project: &str, server_url: &str, db_name: &str)
crates/testing/src/sdk.rs:351
↓ 1 callersFunctionrun_cmd_with_stdin
Runs a command with stdin input and returns stdout as a string.
crates/smoketests/src/lib.rs:304
↓ 1 callersFunctionrun_docs_build
()
tools/ci/src/main.rs:457
↓ 1 callersFunctionrun_many_routes_for_mode
( bench_root: &Path, mode: &str, hash: &str, context: &str, lang: Lang, config: &RunCo
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:643
↓ 1 callersFunctionrun_mode_benchmarks
Run benchmarks for a single mode.
tools/xtask-llm-benchmark/src/bin/llm_benchmark.rs:521
↓ 1 callersFunctionrun_module_benchmark
( module: &BenchmarkModule, cli_path: &Path, config_path: &Path, server_url: &str, )
tools/ci/src/keynote_bench.rs:69
↓ 1 callersFunctionrun_pm
(pm: PackageManager, args: &[&str], cwd: &Path)
crates/cli/src/subcommands/init.rs:393
← previousnext →10,001–10,100 of 27,764, ranked by callers