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
exe_sql
(&self, query: String)
crates/pg/src/pg_server.rs:155
↓ 1 callers
Function
execBanPlayer
* Test: Ban a player via banPlayer1 reducer (explicit name). * Verifies that reducers with explicit names work, and that updating a player's * statu
crates/bindings-typescript/case-conversion-test-client/src/index.ts:161
↓ 1 callers
Function
execInsertPerson
* Test: Insert a person via addPerson2 reducer. * Verifies nested struct `personInfo` with digit-boundary fields * (`ageValue1`, `scoreTotal`), and
crates/bindings-typescript/case-conversion-test-client/src/index.ts:118
↓ 1 callers
Function
execInsertPlayer
* Test: Insert a player via createPlayer1 reducer. * Verifies table accessor `player1`, field names with digit boundaries * (`player1Id`, `currentLe
crates/bindings-typescript/case-conversion-test-client/src/index.ts:84
↓ 1 callers
Function
execQueryBuilderFilter
* Test: Query builder with a filter on a digit-boundary column. * Subscribes to player1 rows WHERE currentLevel2 == 5.
crates/bindings-typescript/case-conversion-test-client/src/index.ts:200
↓ 1 callers
Function
execQueryBuilderJoin
* Test: Query builder with a JOIN between player1 and person2. * Uses a right semijoin: player1 RIGHT SEMIJOIN person2 ON player1Id = playerRef. * V
crates/bindings-typescript/case-conversion-test-client/src/index.ts:240
↓ 1 callers
Function
exec_add
(mut config: Config, args: &ArgMatches)
crates/cli/src/subcommands/server.rs:190
↓ 1 callers
Function
exec_anonymous_subscribe
(db_name: &str)
sdks/rust/tests/view-client/src/test_handlers.rs:154
↓ 1 callers
Function
exec_anonymous_subscribe_with_query_builder
(db_name: &str)
sdks/rust/tests/view-client/src/test_handlers.rs:216
↓ 1 callers
Function
exec_ban_player
Test: Ban a player via BanPlayer1 reducer (which has explicit name `banPlayer1`). Verifies that reducers with explicit names work, and that updating a
sdks/rust/tests/case-conversion-client/src/main.rs:190
↓ 1 callers
Function
exec_caller_alice_receives_reducer_callback_but_not_bob
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:1988
↓ 1 callers
Function
exec_caller_always_notified
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:1860
↓ 1 callers
Function
exec_clear
(_config: Config, paths: &SpacetimePaths, args: &ArgMatches)
crates/cli/src/subcommands/server.rs:360
↓ 1 callers
Method
exec_counter_map
Returns the execution counters for this database.
crates/engine/src/relational_db.rs:754
↓ 1 callers
Function
exec_delete_connection_id
This test doesn't add much alongside `exec_insert_connection_id` and `exec_delete_primitive`, but it's here for symmetry.
sdks/rust/tests/test-client/src/test_handlers.rs:792
↓ 1 callers
Function
exec_delete_identity
This test doesn't add much alongside `exec_insert_identity` and `exec_delete_primitive`, but it's here for symmetry.
sdks/rust/tests/test-client/src/test_handlers.rs:700
↓ 1 callers
Function
exec_delete_primitive
This tests that we can observe `on_delete` callbacks.
sdks/rust/tests/test-client/src/test_handlers.rs:574
↓ 1 callers
Function
exec_delete_uuid
This test doesn't add much alongside `exec_insert_uuid` and `exec_delete_primitive`, but it's here for symmetry.
sdks/rust/tests/test-client/src/test_handlers.rs:950
↓ 1 callers
Function
exec_disconnect_sender_view_updates
(db_name: &str)
sdks/rust/tests/view-client/src/test_handlers.rs:484
↓ 1 callers
Function
exec_edit
(mut config: Config, args: &ArgMatches)
crates/cli/src/subcommands/server.rs:305
↓ 1 callers
Function
exec_event_table
(db_name: &str)
sdks/rust/tests/event-table-client/src/test_handlers.rs:78
↓ 1 callers
Function
exec_events_dont_persist
Test that event table rows don't persist across transactions. Emit events, then call a no-op reducer. After the no-op completes, verify we didn't rece
sdks/rust/tests/event-table-client/src/test_handlers.rs:163
↓ 1 callers
Function
exec_fail_reducer
This tests that we can observe reducer callbacks for failed reducers.
sdks/rust/tests/test-client/src/test_handlers.rs:1043
↓ 1 callers
Function
exec_fingerprint
(mut config: Config, args: &ArgMatches)
crates/cli/src/subcommands/server.rs:269
↓ 1 callers
Function
exec_from_entry
( mut config: Config, entry: HashMap<String, serde_json::Value>, config_dir: Option<&std::path::Pa
crates/cli/src/subcommands/publish.rs:449
↓ 1 callers
Function
exec_indexed_simple_enum
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:2756
↓ 1 callers
Function
exec_insert_call_timestamp
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:860
↓ 1 callers
Function
exec_insert_caller_connection_id
This tests that we can serialize and deserialize `ConnectionId` in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:765
↓ 1 callers
Function
exec_insert_caller_identity
This tests that we can retrieve and use the caller's `Identity` from the reducer context.
sdks/rust/tests/test-client/src/test_handlers.rs:674
↓ 1 callers
Function
exec_insert_caller_uuid_v4
This tests that we can serialize and deserialize `Uuid` in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:925
↓ 1 callers
Function
exec_insert_caller_uuid_v7
This tests that we can serialize and deserialize `Uuid` in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:946
↓ 1 callers
Function
exec_insert_connection_id
This tests that we can serialize and deserialize `ConnectionId` in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:745
↓ 1 callers
Function
exec_insert_delete_large_table
This test invokes a reducer with many arguments of many types, and observes a callback for an inserted table with many columns of many types.
sdks/rust/tests/test-client/src/test_handlers.rs:1438
↓ 1 callers
Function
exec_insert_enum_with_payload
This tests that we can serialize and deserialize sum types in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:1379
↓ 1 callers
Function
exec_insert_identity
This tests that we can serialize and deserialize `Identity` in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:650
↓ 1 callers
Function
exec_insert_option_none
This tests that we can serialize and deserialize `Option`s of various payload types which are `None`. Note that this must be a separate test from [`e
sdks/rust/tests/test-client/src/test_handlers.rs:1304
↓ 1 callers
Function
exec_insert_option_some
This tests that we can serialize and deserialize `Option`s of various payload types which are `Some`. Note that this must be a separate test from [`e
sdks/rust/tests/test-client/src/test_handlers.rs:1277
↓ 1 callers
Function
exec_insert_person
Test: Insert a person via AddPerson2 reducer using query builder subscription. Verifies nested struct `Person3Info` with digit-boundary fields (`age_v
sdks/rust/tests/case-conversion-client/src/main.rs:139
↓ 1 callers
Function
exec_insert_player
Test: Insert a player via CreatePlayer1 reducer using query builder subscription. Verifies that table accessor `player_1()`, field names with digits (
sdks/rust/tests/case-conversion-client/src/main.rs:100
↓ 1 callers
Function
exec_insert_primitive
This tests that we can: - Pass primitive types to reducers. - Deserialize primitive types in rows and in reducer arguments. - Observe `on_insert` call
sdks/rust/tests/test-client/src/test_handlers.rs:534
↓ 1 callers
Function
exec_insert_primitives_as_strings
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:1551
↓ 1 callers
Function
exec_insert_simple_enum
This tests that we can serialize and deserialize C-style enums in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:1355
↓ 1 callers
Function
exec_insert_struct
This tests that we can serialize and deserialize structs in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:1328
↓ 1 callers
Function
exec_insert_timestamp
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:841
↓ 1 callers
Function
exec_insert_uuid
This tests that we can serialize and deserialize `Uuid` in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:905
↓ 1 callers
Function
exec_insert_vec
This tests that we can serialize and deserialize `Vec<?>` in various contexts.
sdks/rust/tests/test-client/src/test_handlers.rs:1143
↓ 1 callers
Function
exec_insert_with_tx_commit
(db_name: &str)
sdks/rust/tests/procedure-client/src/test_handlers.rs:183
↓ 1 callers
Function
exec_insert_with_tx_rollback
(db_name: &str)
sdks/rust/tests/procedure-client/src/test_handlers.rs:220
↓ 1 callers
Function
exec_list
(config: Config, _args: &ArgMatches)
crates/cli/src/subcommands/server.rs:150
↓ 1 callers
Function
exec_multiple_events
Test that multiple events emitted in a single reducer call all arrive as inserts.
sdks/rust/tests/event-table-client/src/test_handlers.rs:126
↓ 1 callers
Function
exec_non_anonymous_subscribe
(db_name: &str)
sdks/rust/tests/view-client/src/test_handlers.rs:288
↓ 1 callers
Function
exec_non_table_query_builder_return
(db_name: &str)
sdks/rust/tests/view-client/src/test_handlers.rs:370
↓ 1 callers
Function
exec_non_table_return
(db_name: &str)
sdks/rust/tests/view-client/src/test_handlers.rs:328
↓ 1 callers
Function
exec_on_reducer
This tests that we can observe reducer callbacks for successful reducer runs.
sdks/rust/tests/test-client/src/test_handlers.rs:994
↓ 1 callers
Function
exec_overlapping_subscriptions
This tests for a bug we once had where the Rust client SDK would drop all but the last `TableUpdate` for a particular table within a `DatabaseUpdate`.
sdks/rust/tests/test-client/src/test_handlers.rs:2800
↓ 1 callers
Function
exec_ping
(config: Config, args: &ArgMatches)
crates/cli/src/subcommands/server.rs:284
↓ 1 callers
Function
exec_pk_simple_enum
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:2724
↓ 1 callers
Function
exec_procedure_concurrent_with_scheduled_reducer
(db_name: &str)
sdks/rust/tests/procedure-concurrency-client/src/test_handlers.rs:393
↓ 1 callers
Function
exec_procedure_http_err
Test that a procedure can perform an HTTP request, handle its failure and return a string derived from the error. Invoke the procedure `invalid_reque
sdks/rust/tests/procedure-client/src/test_handlers.rs:290
↓ 1 callers
Function
exec_procedure_http_ok
Test that a procedure can perform an HTTP request and return a string derived from the response. Invoke the procedure `read_my_schema`, which does an
sdks/rust/tests/procedure-client/src/test_handlers.rs:252
↓ 1 callers
Function
exec_procedure_panic
(db_name: &str)
sdks/rust/tests/procedure-client/src/test_handlers.rs:161
↓ 1 callers
Function
exec_procedure_reducer_interleaving
(db_name: &str)
sdks/rust/tests/procedure-concurrency-client/src/test_handlers.rs:107
↓ 1 callers
Function
exec_procedure_reducer_same_client_interleaved
(db_name: &str)
sdks/rust/tests/procedure-concurrency-client/src/test_handlers.rs:291
↓ 1 callers
Function
exec_procedure_return_values
(db_name: &str)
sdks/rust/tests/procedure-client/src/test_handlers.rs:109
↓ 1 callers
Function
exec_query_builder_filter
Test: Query builder with a filter on a digit-boundary column. Subscribes to player_1 rows WHERE current_level_2 == 5, verifying that the case-converte
sdks/rust/tests/case-conversion-client/src/main.rs:235
↓ 1 callers
Function
exec_query_builder_join
Test: Query builder with a JOIN between player_1 and person_2. Uses a right semijoin: person_2 results from player_1 JOIN person_2. This tests that: -
sdks/rust/tests/case-conversion-client/src/main.rs:286
↓ 1 callers
Function
exec_reauth
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:1728
↓ 1 callers
Function
exec_reauth_part_1
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:1736
↓ 1 callers
Function
exec_reauth_part_2
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:1763
↓ 1 callers
Function
exec_reconnect_different_connection_id
Ensure a new connection gets a different connection id.
sdks/rust/tests/test-client/src/test_handlers.rs:1807
↓ 1 callers
Function
exec_remove
(mut config: Config, args: &ArgMatches)
crates/cli/src/subcommands/server.rs:232
↓ 1 callers
Function
exec_replace
implementation based on and docs taken verbatim from `cargo_util::ProcessBuilder::exec_replace` Replaces the current process with the target process.
crates/update/src/proxy.rs:90
↓ 1 callers
Function
exec_row_deduplication
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:2091
↓ 1 callers
Function
exec_row_deduplication_join_r_and_s
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:2156
↓ 1 callers
Function
exec_row_deduplication_r_join_s_and_r_join_t
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:2222
↓ 1 callers
Function
exec_schedule_procedure
(db_name: &str)
sdks/rust/tests/procedure-client/src/test_handlers.rs:316
↓ 1 callers
Function
exec_scheduled_procedure_scheduled_reducer_not_interleaved
Like [`exec_procedure_reducer_same_client_not_interleaved`], but with the scheduler instead of a client. Tracks a behavior that we'd like to change.
sdks/rust/tests/procedure-concurrency-client/src/test_handlers.rs:471
↓ 1 callers
Function
exec_sender_scoped_pk_view
(db_name: &str)
sdks/rust/tests/procedural-view-pk-client/src/test_handlers.rs:62
↓ 1 callers
Function
exec_set_default
(mut config: Config, args: &ArgMatches)
crates/cli/src/subcommands/server.rs:175
↓ 1 callers
Function
exec_should_fail
This tests that the test machinery itself is functional and can detect failures.
sdks/rust/tests/test-client/src/test_handlers.rs:1429
↓ 1 callers
Function
exec_show
(config: Config, args: &ArgMatches)
crates/cli/src/subcommands/login.rs:95
↓ 1 callers
Function
exec_sorted_uuids_insert
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:1935
↓ 1 callers
Function
exec_sorted_uuids_insert
Test that a procedure can generate sorted UUIDs and insert them into a table Invoke the procedure `sorted_uuids_insert`, which generates 1000 sorted
sdks/rust/tests/procedure-client/src/test_handlers.rs:366
↓ 1 callers
Method
exec_sql
( &self, auth: AuthCtx, _database: Database, confirmed_read: bool, bod
crates/client-api/src/lib.rs:137
↓ 1 callers
Function
exec_subcommand
(cmd: &str, args: &ArgMatches, db_cores: JobCores)
crates/standalone/src/lib.rs:619
↓ 1 callers
Function
exec_subcommand
( config: Config, paths: &SpacetimePaths, cmd: &str, args: &ArgMatches, )
crates/cli/src/subcommands/server.rs:122
↓ 1 callers
Function
exec_subcommand
(config: Config, cmd: &str, args: &ArgMatches)
crates/cli/src/subcommands/login.rs:88
↓ 1 callers
Function
exec_subscribe_all_select_star
Duplicates the test `insert_primitive`, but using `SubscriptionBuilder::subscribe_to_all_tables` rather than an explicit query set.
sdks/rust/tests/test-client/src/test_handlers.rs:1893
↓ 1 callers
Function
exec_subscribe_and_cancel
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:442
↓ 1 callers
Function
exec_subscribe_and_unsubscribe
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:470
↓ 1 callers
Function
exec_subscription_error_smoke_test
(db_name: &str)
sdks/rust/tests/test-client/src/test_handlers.rs:510
↓ 1 callers
Function
exec_subscription_update
(db_name: &str)
sdks/rust/tests/view-client/src/test_handlers.rs:417
↓ 1 callers
Function
exec_two_different_compression_algos
Test that several clients subscribing to the same query and using the same protocol (bsatn) can use different compression algorithms than each other.
sdks/rust/tests/test-client/src/test_handlers.rs:2502
↓ 1 callers
Function
exec_update_connection_id
This tests that we can distinguish between `on_delete` and `on_update` events for tables with `ConnectionId` primary keys.
sdks/rust/tests/test-client/src/test_handlers.rs:815
↓ 1 callers
Function
exec_update_identity
This tests that we can distinguish between `on_delete` and `on_update` events for tables with `Identity` primary keys.
sdks/rust/tests/test-client/src/test_handlers.rs:723
↓ 1 callers
Function
exec_update_primitive
This tests that we can distinguish between `on_update` and `on_delete` callbacks for tables with primary keys.
sdks/rust/tests/test-client/src/test_handlers.rs:612
↓ 1 callers
Function
exec_update_uuid
This tests that we can distinguish between `on_delete` and `on_update` events for tables with `Uuid` primary keys.
sdks/rust/tests/test-client/src/test_handlers.rs:973
↓ 1 callers
Function
exec_v1_rejects_event_table
Test that v1 WebSocket clients are rejected when subscribing to event tables. The server should return a subscription error directing the developer to
sdks/rust/tests/event-table-client/src/test_handlers.rs:212
↓ 1 callers
Function
exec_view
Query view named Level2Person
sdks/rust/tests/case-conversion-client/src/main.rs:358
↓ 1 callers
Function
exec_view_pk_join_query_builder
Subscribe to a right semijoin whose rhs is a view with primary key. Ensures: 1. A semijoin subscription involving a view is valid 2. The rust sdk emi
sdks/rust/tests/view-pk-client/src/test_handlers.rs:146
← previous
next →
8,401–8,500 of 27,764, ranked by callers