SpacetimeDB
SpacetimeDB copied to clipboard
Multiplayer at the speed of light
I try to use Dioxus and SpacetimeDB together. Dioxus compile rust code to wasm and run in browser. The module binding code compile failed, because of the openssl crate can't...
# Description of Changes Closes [#2542](https://github.com/clockworklabs/SpacetimeDB/issues/2542). P.D: This is a temporal patch that should be replace by [#2589](https://github.com/clockworklabs/SpacetimeDB/issues/2589) # Expected complexity level and risk 1 # Testing - [x] Change...
Something like this: ``` // Pseudocode func upsert(ctx, primary_key_value, value): if ctx.primary_key_column.try_find(primary_key_value): // Row with a matching primary key column exists ctx.primary_key_column.delete(primary_key_value) ctx.primary_key_column.insert(primary_key_value, value) ``` In order to `upsert` on...
Description: I'm running Windows 11 and have installed SpacetimeDB using the [official PowerShell installation guide](https://spacetimedb.com/install). I also have the SpacetimeDB server running in a Docker container. My intention is to...
# Description of Changes Fixes https://github.com/clockworklabs/SpacetimeDB/issues/2601. This fixes two bugs, where if you: 1. define a table with `struct T { #[unique] x: u32 }` 2. insert `T { x:...
This has been asked for several times but most recently in discord: https://discord.com/channels/1037340874172014652/1352309930010480791/1352309991088062569 We need a way to have a column in one table reference a column in another table,...
Created from discord issue: https://discord.com/channels/1037340874172014652/1353158092547817483/1353158092547817483 If you have a table in a C# module defined like this: ```csharp [Table(Public = true)] [SpacetimeDB.Index.BTree(Name = "GetPos", Columns = [nameof(CharacterID), nameof(Pos)])] public partial...
Right now you can't do this: ```rust #[spacetimedb(table, name = "my_table")] pub struct MyTable { #[primary_key] pub id: uuid, pub name: String, } ```
# Description of Changes Previously we weren't counting bytes_written inside of `update` (only `insert`). This updates the appropriate execution metrics inside of `InstanceEnv::update`. # Expected complexity level and risk 1....
# Description of Changes Fixes for timestamps, so that a reducer that happens after another is observed to have a later timestamp. Specifically: - when running a scheduled reducer, clamp...