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

Method DeleteMutSchema

schema/schema.go:212–216  ·  view source on GitHub ↗

DeleteMutSchema deletes the schema for given predicate from mutSchema.

(pred string)

Source from the content-addressed store, hash-verified

210
211// DeleteMutSchema deletes the schema for given predicate from mutSchema.
212func (s *state) DeleteMutSchema(pred string) {
213 s.Lock()
214 defer s.Unlock()
215 delete(s.mutSchema, pred)
216}
217
218// GetIndexingPredicates returns the list of predicates for which we are building indexes.
219func GetIndexingPredicates() []string {

Callers 2

updateSchemaFunction · 0.80
LoadFunction · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected