Skip to content

crelte / queries

crelte ​

Classes ​

ClassDescription
QueriesWith queries you can execute GraphQl queries, either directly to the endpoint or via the server queries.
QueryErrorA QueryError error
QueryVar-

Type Aliases ​

Type AliasDescription
CachingDefines when a query can safely be cached.
GqlQueryYou should never create this type directly. It is returned from the gql template function.
HandleHandles a query request.
HandleFnuse Handle
QueriesOptionsOptions for the Queries class
QueryA GraphQL query
QueryErrorResponse-
QueryOptionsOptions to configure the request
TransformTransforms the query response before it is returned or cached.
TransformFnuse Transfrom
ValidIf-
ValidVarsDefines wether the query variables are valid.

Variables ​

VariableDescription
vars-

Functions ​

FunctionDescription
gqlCreate a GraphQL query string with variables.
isQueryReturns true if the passed object is a Query
varsIdsEqualChecks if two id arrays are equal