MCPcopy Create free account
hub / github.com/cli/cli / Query

Method Query

pkg/cmd/project/shared/queries/queries.go:68–70  ·  view source on GitHub ↗
(queryName string, query any, variables map[string]any)

Source from the content-addressed store, hash-verified

66}
67
68func (c *hostScopedClient) Query(queryName string, query any, variables map[string]any) error {
69 return c.Client.Query(c.hostname, queryName, query, variables)
70}
71
72func (c *hostScopedClient) Mutate(queryName string, query any, variables map[string]any) error {
73 return c.Client.Mutate(c.hostname, queryName, query, variables)

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.65

Tested by

no test coverage detected