Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TemplateGraphQlApi

Hierarchy

  • BaseResourceAPI<any>
    • TemplateGraphQlApi

Index

Methods

Methods

runQuery

  • runQuery<TVariables>(__namedParameters: { operationName: undefined | string; query: string; variables: undefined | TVariables }): Promise<GraphQlResponse>
  • client.templates.group("myGroup").versions(1).runQuery({ query: `
      wellList {
        name
      }
    `});

    Type parameters

    • TVariables: Record<string, unknown>

    Parameters

    • __namedParameters: { operationName: undefined | string; query: string; variables: undefined | TVariables }
      • operationName: undefined | string
      • query: string
      • variables: undefined | TVariables

    Returns Promise<GraphQlResponse>