Skip to content
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

Update GraphQL doc to clarify database querying #1834

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/routes/docs/apis/graphql/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ Both accounts and sessions can be created with GraphQL using the `accountCreate`

More information and examples of authenticating users can be found in the dedicated [authentication guide](/docs/products/auth).

# Database queries {% #database-queries %}

The GraphQL API can be used to query and manipulate database documents. For detailed examples of how to create, list, update, and delete documents using GraphQL, refer to the [Documents documentation](/docs/products/databases/documents).

# GraphQL vs REST {% #graphql-vs-rest %}

There are two main features that make GraphQL appealing when compared to the REST API: **selection sets** and **query batching**.
Expand Down