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

Function logTypeUpdate

schema/schema.go:187–189  ·  view source on GitHub ↗
(typ *pb.TypeUpdate, typeName string)

Source from the content-addressed store, hash-verified

185}
186
187func logTypeUpdate(typ *pb.TypeUpdate, typeName string) string {
188 return fmt.Sprintf("Setting type definition for type %s: %v\n", typeName, typ)
189}
190
191// Set sets the schema for the given predicate in memory.
192// Schema mutations must flow through the update function, which are synced to the db.

Callers 1

SetTypeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…