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

Function isDropAll

edgraph/server.go:2430–2435  ·  view source on GitHub ↗
(op *api.Operation)

Source from the content-addressed store, hash-verified

2428}
2429
2430func isDropAll(op *api.Operation) bool {
2431 if op.DropAll || op.DropOp == api.Operation_ALL {
2432 return true
2433 }
2434 return false
2435}
2436
2437// isDropOperation reports whether op is any form of drop (all, data, attr, or
2438// type) rather than a schema change.

Callers 3

validateAlterOperationFunction · 0.85
alterMethod · 0.85
authorizeAlterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected