MCPcopy
hub / github.com/dosco/graphjin / queryWithResult

Method queryWithResult

core/api.go:880–883  ·  view source on GitHub ↗

GraphQL function is our main function it takes a GraphQL query compiles it

(c context.Context, r GraphqlReq)

Source from the content-addressed store, hash-verified

878
879// GraphQL function is our main function it takes a GraphQL query compiles it
880func (gj *graphjinEngine) queryWithResult(c context.Context, r GraphqlReq) (res *Result, err error) {
881 resp, err := gj.query(c, r)
882 return &resp.res, err
883}
884
885// GraphQL function is our main function it takes a GraphQL query compiles it
886func (gj *graphjinEngine) query(c context.Context, r GraphqlReq) (

Callers 1

GraphQLByNameMethod · 0.80

Calls 1

queryMethod · 0.95

Tested by

no test coverage detected