MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / deletePredicate

Function deletePredicate

dgraph/cmd/alpha/run_test.go:153–157  ·  view source on GitHub ↗
(pred string)

Source from the content-addressed store, hash-verified

151}
152
153func deletePredicate(pred string) error {
154 op := `{"drop_attr": "` + pred + `"}`
155 _, _, err := runWithRetries("PUT", "", addr+"/alter", op)
156 return err
157}
158
159func TestDeletePredicate(t *testing.T) {
160 var m1 = `

Callers 2

TestDeletePredicateFunction · 0.85
TestListTypeSchemaChangeFunction · 0.85

Calls 1

runWithRetriesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…