-
Notifications
You must be signed in to change notification settings - Fork 153
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
DOC-348: Revamp Record IDs page to include best practises #1170
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for surrealdb-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…into bestpractice-ify-the-id-page
SELECT * FROM time_data:[NONE]..; | ||
``` | ||
|
||
As the `..` of the final open-ended range is infinite, it also serves as the greatest possible value in the same way that `NONE` serves as the lowest possible value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the final open-ended range is infinite
I would reword this as it sounds like you can bring back infinite amount of data 😅
Also not sure why we need to repeat it since we have it above as well
As the least possible value is NONE, a query for the records below that begins with NONE and ends with the
..
open range syntax will return everything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that part got messed up a bit. I've reworded and expanded the whole section a bit:
|
||
As a record ID | ||
|
||
/docs/surrealql/datamodel/records |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
? indeed! Decided against adding that section, forgot to remove it. 2a87bc3
To create a field name with complex characters, use backticks: | ||
Surrealist's [graph visualization view](/blog/whats-new-in-surrealist-3-2#graph-visualisation) can help as well. | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alt needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed alt added! bf50e20
WIP: Rejigging of the Record IDs page to make it read more like a best practices guide.