Skip to content

C# Quickstart doc error #220

Closed
Closed
@AlmAnderson

Description

@AlmAnderson

Docs have you create this table:
[Table(Name = "message", Public = true)]
public partial class Message

Then have you test a query at the end of the page:

SQL Queries
SpacetimeDB supports a subset of the SQL syntax so that you can easily query the data of your database. We can run a query using the sql command.

spacetime sql quickstart-chat "SELECT * FROM Message"

The table name is lowercase "message", so you get an error when you run this select:

"SELECT * FROM Message"
WARNING: This command is UNSTABLE and subject to breaking changes.

Error: Message is not a valid table

(should be 'message' not 'Message'

Also why am I getting this WARNING, probably add this to the docs to warn people about it.
WARNING: This command is UNSTABLE and subject to breaking changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions