Parameters
A GraphQL query string.
If you’re using TypeScript and [default]
import
this value from a .graphql
or .gql
file,
the variables and return value with be strongly typed.Read more.The named variables your query accepts. If your query has no variables, you needn’t pass any.
Returns
A
Promise
to the structured JSON as defined by your query.