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

Function dropAll

dgraph/cmd/alpha/run_test.go:147–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func dropAll() error {
148 op := `{"drop_all": true}`
149 _, _, err := runWithRetries("PUT", "", addr+"/alter", op)
150 return err
151}
152
153func deletePredicate(pred string) error {
154 op := `{"drop_attr": "` + pred + `"}`

Callers 15

TestUpsertExample0Function · 0.85
TestUpsertExample0JSONFunction · 0.85
TestUpsertNoVarErrFunction · 0.85
TestUpsertWithFragmentFunction · 0.85
TestUpsertInvalidErrFunction · 0.85
TestUpsertUnusedVarErrFunction · 0.85
TestUpsertExampleNodeFunction · 0.85
TestUpsertExampleEdgeFunction · 0.85

Calls 1

runWithRetriesFunction · 0.85

Tested by

no test coverage detected