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
Method
watch_maybe_launch_module_host
( &self, database: Database, replica_id: u64, )
crates/core/src/host/host_controller.rs:285
↓ 1 callers
Function
web_login
(remote: &Url, open_browser: bool)
crates/cli/src/subcommands/login.rs:206
↓ 1 callers
Function
web_login_or_cached
(config: &mut Config, host: &Url, open_browser: bool)
crates/cli/src/subcommands/login.rs:139
↓ 1 callers
Method
websocket_options
(&self)
crates/client-api/src/routes/subscribe.rs:74
↓ 1 callers
Method
withCompression
* Set the compression algorithm to use for the connection. * * @param compression The compression algorithm to use for the connection.
crates/bindings-typescript/src/sdk/db_connection_builder.ts:96
↓ 1 callers
Method
withConfirmedReads
* Sets the connection to use confirmed reads. * * When enabled, the server will send query results only after they are * confirmed to be dura
crates/bindings-typescript/src/sdk/db_connection_builder.ts:143
↓ 1 callers
Method
withLightMode
* Sets the connection to operate in light mode. * * Light mode is a mode that reduces the amount of data sent over the network. * * @param
crates/bindings-typescript/src/sdk/db_connection_builder.ts:118
↓ 1 callers
Method
with_column_sequence
Adds a [RawSequenceDefV10] on the supplied `column`.
crates/lib/src/db/raw_def/v10.rs:1397
↓ 1 callers
Method
with_compression
Sets the compression used when a certain threshold in the message size has been reached. The current threshold used by the host is 1KiB for the entir
sdks/rust/src/db_connection.rs:1093
↓ 1 callers
Method
with_durability_config
(mut self, durability: DurabilityConfig)
crates/engine/src/persistence.rs:217
↓ 1 callers
Method
with_generate_private_items
(self, include_private: bool)
crates/testing/src/sdk.rs:442
↓ 1 callers
Method
with_indexes
Set the indexes for the table and return a new `TableDef` instance with the updated indexes.
crates/lib/src/db/raw_def/v8.rs:397
↓ 1 callers
Method
with_len
Returns a new header with the length component changed to `len`.
crates/table/src/var_len.rs:165
↓ 1 callers
Method
with_log_format_version
(self)
crates/commitlog/src/segment.rs:565
↓ 1 callers
Function
with_near_heap_limit_callback
Run the closure `f` with `callback` set as `scope`'s near-heap-limit callback. Upon return, the callback will be unregistered and the heap limit will
crates/core/src/host/v8/mod.rs:1209
↓ 1 callers
Method
with_next
Returns a new header with the next-granule component changed to `next`.
crates/table/src/var_len.rs:193
↓ 1 callers
Method
with_page_index
(self, page_index: PageIndex)
crates/table/src/indexes.rs:331
↓ 1 callers
Method
with_primary_key
Adds a primary key to the table. You must also add a unique constraint on the primary key column.
crates/lib/src/db/raw_def/v10.rs:1353
↓ 1 callers
Method
with_runtime_module
(&self, module: U)
crates/core/src/host/wasm_common/module_host_actor.rs:419
↓ 1 callers
Method
with_scheduled
Set the reducer name for scheduled tables and return updated `TableDef`.
crates/lib/src/db/raw_def/v8.rs:436
↓ 1 callers
Method
with_squashed_offset
(self, squashed_offset: SquashedOffset)
crates/table/src/indexes.rs:345
↓ 1 callers
Method
with_unique_constraint
Generates a `RawConstraintDefV10` using the supplied `columns`.
crates/lib/src/db/raw_def/v10.rs:1341
↓ 1 callers
Method
with_unreal_module
Unreal-only: names the Unreal module into which bindings are generated.
crates/testing/src/sdk.rs:421
↓ 1 callers
Method
with_updating_non_full_pages
Collect information about the page `self[page_index]` sufficient to update [`Self::non_full_pages`], then run `body` to update the page, and finally u
crates/table/src/pages.rs:303
↓ 1 callers
Function
with_vars
(vars: [(&str, Option<&str>); N], f: impl FnOnce() -> R)
crates/paths/src/lib.rs:294
↓ 1 callers
Method
withdraw_energy
(&self, _identity: &Identity, _amount: EnergyQuanta)
crates/client-api/src/routes/database.rs:1879
↓ 1 callers
Function
worker
(workerIndex: number)
templates/keynote-2/src/core/runner.ts:199
↓ 1 callers
Method
workload
(&self)
crates/datastore/src/execution_context.rs:200
↓ 1 callers
Function
workspace_root
()
tools/xtask-llm-benchmark/src/bench/publishers.rs:11
↓ 1 callers
Function
workspace_root
Returns the workspace root directory. TODO: Should this use something like `git rev-parse --show-toplevel` to avoid being directory-relative? Or perha
crates/guard/src/lib.rs:26
↓ 1 callers
Function
workspace_root
()
crates/smoketests/tests/smoketests/permissions.rs:4
↓ 1 callers
Function
workspace_root
()
crates/smoketests/tests/smoketests/default_module_clippy.rs:6
↓ 1 callers
Function
wrapInParens
(sql: string)
crates/bindings-typescript/src/lib/query.ts:837
↓ 1 callers
Method
write
(&mut self, value: W)
crates/pg/src/encoder.rs:85
↓ 1 callers
Method
writeBytes
(value: Uint8Array)
crates/bindings-typescript/src/lib/binary_writer.ts:96
↓ 1 callers
Function
writeRunJson
( payload: object, connectorName: string, alpha: number, )
templates/keynote-2/src/cli.ts:160
↓ 1 callers
Method
writeU128
(value: bigint)
crates/bindings-typescript/src/lib/binary_writer.ts:150
↓ 1 callers
Method
writeU256
(value: bigint)
crates/bindings-typescript/src/lib/binary_writer.ts:168
↓ 1 callers
Method
write_access
(&mut self, access: TableAccess)
crates/schema/src/auto_migrate/termcolor_formatter.rs:153
↓ 1 callers
Method
write_all_blobs
Populate the in-memory snapshot `self`, and the on-disk object repository `object_repo`, with all large blobs from `blobs`.
crates/snapshot/src/lib.rs:352
↓ 1 callers
Method
write_all_tables
Populate the in-memory snapshot `self`, and the on-disk object repository `object_repo`, with all pages from all tables in `tables`.
crates/snapshot/src/lib.rs:419
↓ 1 callers
Method
write_alt_record
Writes a value as an alternative record format, e.g., for use `JSON` inside `SQL`.
crates/sats/src/satn.rs:583
↓ 1 callers
Method
write_array
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:778
↓ 1 callers
Method
write_av_bsatn
Write `val` BSATN-encoded to var-len section and a `VarLenRef` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:343
↓ 1 callers
Method
write_blob
Insert a single large blob from a [`BlobStore`] into the in-memory snapshot `self` and the on-disk object repository `object_repo`. If the `prev_snap
crates/snapshot/src/lib.rs:325
↓ 1 callers
Method
write_bool
@name Boolean and Integer Writers * Write primitive integer types to the buffer */ @{
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:79
↓ 1 callers
Method
write_bool
Write a `bool` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:452
↓ 1 callers
Method
write_bool
(&mut self, value: bool)
crates/sats/src/satn.rs:859
↓ 1 callers
Method
write_bytes
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:78
↓ 1 callers
Method
write_bytes
(&mut self, value: &[u8])
crates/sats/src/satn.rs:867
↓ 1 callers
Function
write_config
(test: &Smoketest, config: &toml::Table)
crates/smoketests/tests/smoketests/cli/auth.rs:30
↓ 1 callers
Method
write_duration
(&mut self, value: TimeDuration)
crates/sats/src/satn.rs:885
↓ 1 callers
Function
write_enum_variant
(module: &ModuleDef, out: &mut Indenter, ident: &Identifier, ty: &AlgebraicTypeUse)
crates/codegen/src/rust.rs:988
↓ 1 callers
Method
write_f32
@name Floating Point Writers * Write floating point values to the buffer */ @{
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:94
↓ 1 callers
Method
write_f32
Write a `f32` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:507
↓ 1 callers
Method
write_f64
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:95
↓ 1 callers
Method
write_f64
Write a `f64` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:512
↓ 1 callers
Method
write_fmt
This method allows `write!` and `writeln!` to be used directly on `CodeIndenter`. It does the same thing as using it via the `fmt::Write` trait but in
crates/codegen/src/code_indenter.rs:100
↓ 1 callers
Method
write_gen_val_to_col
Writes `seq_val` to the column at `col_id` in the row identified by `ptr`. Truncates the `seq_val` to fit the type of the column. # Safety - `self.
crates/table/src/table.rs:776
↓ 1 callers
Method
write_i128
Write an `i128` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:492
↓ 1 callers
Method
write_i128_le
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:63
↓ 1 callers
Method
write_i128_le
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:63
↓ 1 callers
Method
write_i16
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:85
↓ 1 callers
Method
write_i16
Write an `i16` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:462
↓ 1 callers
Method
write_i256
Write an `i256` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:502
↓ 1 callers
Method
write_i32
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:86
↓ 1 callers
Method
write_i32
Write an `i32` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:472
↓ 1 callers
Method
write_i64
Write an `i64` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:482
↓ 1 callers
Method
write_i8
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:84
↓ 1 callers
Method
write_i8
Write an `i8` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:447
↓ 1 callers
Function
write_if_changed
(path: &Path, contents: &[u8])
crates/cli/build.rs:551
↓ 1 callers
Method
write_large_blobs
(mut self, blob_store: &mut dyn BlobStore)
crates/table/src/bflatn_to.rs:214
↓ 1 callers
Method
write_optional
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:84
↓ 1 callers
Method
write_optional
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:84
↓ 1 callers
Method
write_plain_enum
Generate minimal plain enum
crates/codegen/src/cpp.rs:367
↓ 1 callers
Function
write_row_to_pages_bsatn
Writes `row` typed at `ty` to `pages` using `blob_store` as needed to write large blobs. Panics if `val` is not of type `ty`. # Safety `pages` must
crates/table/src/bflatn_to.rs:50
↓ 1 callers
Method
write_snapshot_file
Write the on-disk snapshot file containing the BSATN-encoded `snapshot` into `snapshot_dir`. It is not recommanded to call this method directly; pref
crates/snapshot/src/lib.rs:861
↓ 1 callers
Method
write_string
* Write a UE FString as UTF-8 encoded string * @param str The FString to serialize */
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:106
↓ 1 callers
Method
write_string
Write the string `str` to the var-len section and a `VarLenRef` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:327
↓ 1 callers
Method
write_string
(&mut self, value: &str)
crates/sats/src/satn.rs:863
↓ 1 callers
Method
write_sum
Write a `val`, a [`SumValue`], typed at `ty`, to the buffer.
crates/table/src/bflatn_to.rs:283
↓ 1 callers
Method
write_sum_type
Generate minimal sum type (TaggedEnum only)
crates/codegen/src/cpp.rs:235
↓ 1 callers
Method
write_table
Populate the in-memory snapshot `self`, and the on-disk object repository `object_repo`, with all pages from `table`.
crates/snapshot/src/lib.rs:397
↓ 1 callers
Method
write_timestamp
(&mut self, value: Timestamp)
crates/sats/src/satn.rs:878
↓ 1 callers
Method
write_to_files
(&self, public_key_path: &PubKeyPath, private_key_path: &PrivKeyPath)
crates/core/src/auth/mod.rs:115
↓ 1 callers
Function
write_type
(typespace: &Typespace, out: &mut W, ty: &AlgebraicType)
crates/cli/src/subcommands/call.rs:317
↓ 1 callers
Function
write_type
( module: &ModuleDef, out: &mut W, ty: &AlgebraicTypeUse, ref_prefix: Option<&str>, ref_su
crates/codegen/src/typescript.rs:932
↓ 1 callers
Function
write_type_builder_field
( module: &ModuleDef, out: &mut Indenter, name: &str, original_name: Option<&str>, ty: &Al
crates/codegen/src/typescript.rs:755
↓ 1 callers
Function
write_typescript_client_env_file
Writes a `.env.local` file that includes all common frontend environment variable variants for SpacetimeDB.
crates/cli/src/subcommands/init.rs:1307
↓ 1 callers
Method
write_u128
Write a `u128` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:487
↓ 1 callers
Method
write_u16
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:81
↓ 1 callers
Method
write_u256
Write a `u256` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:497
↓ 1 callers
Method
write_u32
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:82
↓ 1 callers
Method
write_u64
Write a `u64` to the fixed buffer and advance the `curr_offset`.
crates/table/src/bflatn_to.rs:477
↓ 1 callers
Method
write_uuid
(&mut self, value: Uuid)
crates/sats/src/satn.rs:892
↓ 1 callers
Function
write_v2_server_message
(bsatn_rlb_pool: &BsatnRowListBuilderPool, out: &mut BytesMut, msg: ws_v2::ServerMessage)
crates/core/src/client/messages.rs:236
↓ 1 callers
Method
write_variant
( &mut self, tag: u8, ty: PsqlType, name: Option<&str>, value: ValueWi
crates/sats/src/satn.rs:915
↓ 1 callers
Method
write_vector
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/writer.h:97
↓ 1 callers
Method
write_vector
crates/bindings-cpp/include/spacetimedb/bsatn/writer.h:97
↓ 1 callers
Method
write_view_rows
( &self, tx: &mut MutTxId, table_id: TableId, rows: Vec<ProductValue>,
crates/engine/src/relational_db.rs:1623
← previous
next →
10,801–10,900 of 27,764, ranked by callers