MCPcopy
hub / github.com/dgraph-io/dgraph / Execute

Method Execute

graphql/resolve/mutation.go:122–122  ·  view source on GitHub ↗

Execute performs the actual query/mutation and returns a Dgraph response. If an error occurs, that indicates that the execution failed in some way significant enough way as to not continue processing this query/mutation or others in the same request.

(ctx context.Context, req *dgoapi.Request, field schema.Field)

Source from the content-addressed store, hash-verified

120 // occurs, that indicates that the execution failed in some way significant enough
121 // way as to not continue processing this query/mutation or others in the same request.
122 Execute(ctx context.Context, req *dgoapi.Request, field schema.Field) (*dgoapi.Response, error)
123 CommitOrAbort(ctx context.Context, tc *dgoapi.TxnContext) (*dgoapi.TxnContext, error)
124}
125

Callers 9

ExecuteFunction · 0.65
initCmdFunction · 0.65
ExecuteFunction · 0.65
rewriteAndExecuteMethod · 0.65
rewriteAndExecuteMethod · 0.65
ExecuteMethod · 0.65
ExecuteMethod · 0.65
rewriteAndExecuteMethod · 0.65
authorizeNewNodesFunction · 0.65

Implementers 6

DgraphExgraphql/dgraph/execute.go
executorgraphql/resolve/resolver_error_test.go
authExecutorgraphql/resolve/auth_test.go
adminExecutorgraphql/resolve/resolver.go
dgraphExecutorgraphql/resolve/resolver.go
panicClientgraphql/e2e/common/error.go

Calls

no outgoing calls

Tested by

no test coverage detected