MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / runGraphqlQuery

Function runGraphqlQuery

dgraph/cmd/alpha/run_test.go:94–97  ·  view source on GitHub ↗
(q string)

Source from the content-addressed store, hash-verified

92}
93
94func runGraphqlQuery(q string) (string, error) {
95 output, _, err := queryWithTs(queryInp{body: q, typ: "application/dql"})
96 return output, err
97}
98
99func runJSONQuery(q string) (string, error) {
100 output, _, err := queryWithTs(queryInp{body: q, typ: "application/json"})

Callers 15

TestLargeStringIndexFunction · 0.85
TestDeletePredicateFunction · 0.85
TestSchemaMutationFunction · 0.85
TestSchemaMutation1Function · 0.85
TestJsonMutationFunction · 0.85
TestDeleteAllFunction · 0.85

Calls 1

queryWithTsFunction · 0.85

Tested by

no test coverage detected