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

Function isDeletePredicateEdge

worker/mutation.go:54–56  ·  view source on GitHub ↗
(edge *pb.DirectedEdge)

Source from the content-addressed store, hash-verified

52}
53
54func isDeletePredicateEdge(edge *pb.DirectedEdge) bool {
55 return edge.Entity == 0 && isStarAll(edge.Value)
56}
57
58// runMutation goes through all the edges and applies them.
59func runMutation(ctx context.Context, edge *pb.DirectedEdge, txn *posting.Txn) error {

Callers 2

runMutationFunction · 0.85
ValidateAndConvertFunction · 0.85

Calls 1

isStarAllFunction · 0.85

Tested by

no test coverage detected