Skip to content

crelte / queries / Query

Type Alias: Query

ts
type Query = GqlQuery | NamedQuery;

A GraphQL query

You should almost never

When importing a graphql file you will get a NamedQuery or use the gql template function to create an InlineQuery. Alternatively you can use the namedQuery function to create a NamedQuery.