Skip to content

crelte / queries / namedQuery

Function: namedQuery()

ts
function namedQuery(name): NamedQuery;

Create a NamedQuery for the given server query name.

Prefer importing a graphql file instead.

Note

This needs to match the name of the js/ts file.

Parameters

name

string

Returns

NamedQuery