Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
28 lines
705 B
Markdown
28 lines
705 B
Markdown
---
|
|
title: Queries
|
|
miniTocMaxHeadingLevel: 2
|
|
redirect_from:
|
|
- /v4/query
|
|
versions:
|
|
free-pro-team: '*'
|
|
enterprise-server: '*'
|
|
---
|
|
|
|
### About queries
|
|
|
|
Every GraphQL schema has a root type for both queries and mutations. The [query type](https://graphql.github.io/graphql-spec/June2018/#sec-Type-System) defines GraphQL operations that retrieve data from the server.
|
|
|
|
For more information, see "[About queries](/v4/guides/forming-calls#about-queries)."
|
|
|
|
## Connections
|
|
|
|
{% for item in graphql.schemaForCurrentVersion.queries.connections %}
|
|
{% include graphql-query %}
|
|
{% endfor %}
|
|
|
|
## Fields
|
|
|
|
{% for item in graphql.schemaForCurrentVersion.queries.fields %}
|
|
{% include graphql-query %}
|
|
{% endfor %}
|