Skip to content

C# Quickstart doc error #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AlmAnderson opened this issue Mar 7, 2025 · 1 comment · Fixed by #309
Closed

C# Quickstart doc error #220

AlmAnderson opened this issue Mar 7, 2025 · 1 comment · Fixed by #309

Comments

@AlmAnderson
Copy link

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.

@bfops
Copy link
Collaborator

bfops commented Apr 3, 2025

Thank you for catching this! We'll get it fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants