SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Typo in "C# Module Quickstart" page

Open kimsama opened this issue 9 months ago • 1 comments

Please, see:

  • https://spacetimedb.com/docs/modules/c-sharp/quickstart

It defined Message partial class as database table:

[Table(Name = "message", Public = true)] // NOTE: the table name is 'message' as lower case
public partial class Message
{
    public Identity Sender;
    public Timestamp Sent;
    public string Text = "";
}

So, when we query a table, it should use lower case as its name like:

spacetime sql quickstart-chat "SELECT * FROM message"

But the page uses upper case as:

spacetime sql quickstart-chat "SELECT * FROM Message"

It happens 'Message' is not a valid table error.

kimsama avatar Mar 23 '25 05:03 kimsama

Good catch, thank you for reporting! We'll fix this.

bfops avatar Apr 02 '25 17:04 bfops

This has been fixed!

bfops avatar Apr 16 '25 18:04 bfops