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
NamedQueryAlways create this object via the namedQuery function
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-

Variables

VariableDescription
vars-

Functions

FunctionDescription
gqlCreate a GraphQL query string with variables.
isQueryReturns true if the passed object is a GraphQlQuery
namedQueryCreate a NamedQuery for the given server query name.
varsIdsEqualChecks if two id arrays are equal