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
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-pk-client/src/module_bindings/sender_view_pk_players_b_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-pk-client/src/module_bindings/sender_view_pk_players_a_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-pk-client/src/module_bindings/all_view_pk_players_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-pk-client/src/module_bindings/view_pk_membership_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-pk-client/src/module_bindings/view_pk_player_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-pk-client/src/module_bindings/view_pk_membership_secondary_table.rs:58
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/connect_disconnect_client/src/module_bindings/disconnected_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/connect_disconnect_client/src/module_bindings/connected_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-client/src/module_bindings/my_player_and_level_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-client/src/module_bindings/player_level_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-client/src/module_bindings/nearby_players_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-client/src/module_bindings/players_at_level_0_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-client/src/module_bindings/player_location_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/view-client/src/module_bindings/my_player_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/procedure-client/src/module_bindings/scheduled_proc_table_table.rs:56
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/procedure-client/src/module_bindings/my_table_table.rs:57
Method
on_insert
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/procedure-client/src/module_bindings/proc_inserts_into_table.rs:56
Function
on_insert_one
( ctx: &impl RemoteDbContext, test_counter: &Arc<TestCounter>, value: T::Contents, is_expected
sdks/rust/tests/test-client/src/simple_test_table.rs:497
Function
on_message_inserted
Our `Message::on_insert` callback: print new messages.
templates/chat-console-rs/src/main.rs:142
Method
on_schedule_proc
( &self, mut callback: impl FnMut(&super::ReducerEventContext) + Send + 'static, )
modules/sdk-test-procedure-cpp/client/src/module_bindings/schedule_proc_reducer.rs:54
Method
on_startup
(&self, client: &mut C, message: PgWireFrontendMessage)
crates/pg/src/pg_server.rs:217
Function
on_sub_applied
(_ctx: &SubscriptionEventContext)
modules/sdk-test-procedure-cpp/client/src/main.rs:98
Function
on_sub_applied
Our `on_applied` callback: sort all past messages and print them in timestamp order.
templates/chat-console-rs/src/main.rs:175
Function
on_sub_error
(_ctx: &ErrorContext, err: Error)
modules/sdk-test-procedure-cpp/client/src/main.rs:102
Function
on_sub_error
Or `on_error` callback: print the error, then exit the process.
templates/chat-console-rs/src/main.rs:189
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
modules/sdk-test-procedure-cpp/client/src/module_bindings/scheduled_proc_table_table.rs:91
Method
on_update
Called by the autogenerated implementation of the [`crate::TableWithPrimaryKey`] method of the same name.
sdks/rust/src/client_cache.rs:506
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/sender_right_view_table.rs:86
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/sender_left_view_table.rs:86
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/right_source_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_u_16_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_i_64_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_string_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_connection_id_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_i_128_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_u_64_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_i_256_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/scheduled_table_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_u_32_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_u_256_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_u_128_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_u_8_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_i_32_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_identity_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_simple_enum_table.rs:87
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_u_32_two_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_bool_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_i_8_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_uuid_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/test-client/src/module_bindings/pk_i_16_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/case-conversion-client/src/module_bindings/person_at_level_2_table.rs:87
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/case-conversion-client/src/module_bindings/player_1_table.rs:87
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/scheduled_reducer_row_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/scheduled_procedure_row_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/view-pk-client/src/module_bindings/sender_view_pk_players_b_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/view-pk-client/src/module_bindings/sender_view_pk_players_a_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/view-pk-client/src/module_bindings/all_view_pk_players_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/view-pk-client/src/module_bindings/view_pk_membership_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/view-pk-client/src/module_bindings/view_pk_membership_secondary_table.rs:88
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/view-client/src/module_bindings/player_table.rs:86
Method
on_update
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row, &Self::Row) + Send + 'static,
sdks/rust/tests/procedure-client/src/module_bindings/scheduled_proc_table_table.rs:86
Function
on_user_inserted
Our `User::on_insert` callback: if the user is online, print a notification.
templates/chat-console-rs/src/main.rs:107
Function
on_user_updated
Our `User::on_update` callback: print a notification about name and status changes.
templates/chat-console-rs/src/main.rs:123
Method
onclose
(handler: (ev: CloseEvent) => void)
crates/bindings-typescript/src/sdk/ws.ts:34
Method
onclose
(handler: (ev: CloseEvent) => void)
crates/bindings-typescript/src/sdk/websocket_decompress_adapter.ts:8
Method
onclose
(handler: (ev: CloseEvent) => void)
crates/bindings-typescript/src/sdk/websocket_test_adapter.ts:31
Function
one_auto_inc
()
crates/schema/src/def/validate/v9.rs:2211
Function
one_auto_inc
()
crates/schema/src/def/validate/v10.rs:1675
Function
one_of
(options: &[crate::sym::Symbol])
crates/bindings-macro/src/util.rs:68
Method
one_off_query_bsatn
( &self, auth: AuthCtx, query: String, client: Arc<ClientConnectionSender>,
crates/core/src/host/module_host.rs:3143
Method
one_off_query_bsatn_inner
(params: OneOffQueryBsatnParams)
crates/core/src/host/module_host.rs:3221
Method
one_off_query_json
( &self, auth: AuthCtx, query: String, client: Arc<ClientConnectionSender>,
crates/core/src/host/module_host.rs:3118
Method
one_off_query_json_inner
(params: OneOffQueryJsonParams)
crates/core/src/host/module_host.rs:3198
Method
one_off_query_v1_inner
( db: Arc<RelationalDB>, subscriptions: ModuleSubscriptions, auth: AuthCtx, qu
crates/core/src/host/module_host.rs:3308
Method
one_off_query_v2
( &self, auth: AuthCtx, query: String, client: Arc<ClientConnectionSender>,
crates/core/src/host/module_host.rs:3365
Method
one_off_query_v2_inner
(params: OneOffQueryV2Params)
crates/core/src/host/module_host.rs:3388
Function
one_off_query_v2_returns_error
()
crates/core/src/host/module_host.rs:3605
Function
one_off_query_v2_returns_rows
()
crates/core/src/host/module_host.rs:3562
Method
onerror
(handler: (msg: ErrorEvent) => void)
crates/bindings-typescript/src/sdk/ws.ts:37
Method
onerror
(handler: (msg: ErrorEvent) => void)
crates/bindings-typescript/src/sdk/websocket_decompress_adapter.ts:20
Method
onerror
(handler: (msg: ErrorEvent) => void)
crates/bindings-typescript/src/sdk/websocket_test_adapter.ts:43
Function
online_users
(ctx: &ViewContext)
crates/smoketests/modules/views-query/src/lib.rs:72
Function
online_users_age
(ctx: &ViewContext)
crates/smoketests/modules/views-query/src/lib.rs:77
Function
only_one_exclusive_lock_can_be_held
()
crates/fs-utils/src/lockfile.rs:307
Method
onmessage
(handler: (msg: { data: Uint8Array }) => void)
crates/bindings-typescript/src/sdk/ws.ts:36
Method
onmessage
(handler: (msg: { data: Uint8Array }) => void)
crates/bindings-typescript/src/sdk/websocket_decompress_adapter.ts:14
Method
onmessage
(handler: (msg: { data: Uint8Array }) => void)
crates/bindings-typescript/src/sdk/websocket_test_adapter.ts:39
Method
onopen
(handler: () => void)
crates/bindings-typescript/src/sdk/ws.ts:35
Method
onopen
(handler: () => void)
crates/bindings-typescript/src/sdk/websocket_decompress_adapter.ts:11
Method
onopen
(handler: () => void)
crates/bindings-typescript/src/sdk/websocket_test_adapter.ts:35
Function
open
()
templates/keynote-2/src/connectors/spacetimedb.ts:100
Function
open
()
templates/keynote-2/src/connectors/convex.ts:57
Function
open
()
templates/keynote-2/src/connectors/rpc/planetscale_pg_rpc.ts:43
Function
open
()
templates/keynote-2/src/connectors/rpc/supabase_rpc.ts:53
Function
open
()
templates/keynote-2/src/connectors/rpc/cockroach_rpc.ts:53
Function
open
()
templates/keynote-2/src/connectors/rpc/postgres_rpc.ts:52
Function
open
()
templates/keynote-2/src/connectors/rpc/sqlite_rpc.ts:61
Method
open
Open the directory trie at `root`, creating the root directory if it doesn't exist. Returns an error if the `root` cannot be created as a directory.
crates/fs-utils/src/dir_trie.rs:83
Method
open
(path: ModuleLogPath)
crates/core/src/database_logger.rs:71
Method
open
(db: Arc<RelationalDB>)
crates/core/src/host/scheduler.rs:79
← previous
next →
23,101–23,200 of 27,764, ranked by callers