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

Function InitialTypes

schema/schema.go:639–641  ·  view source on GitHub ↗

InitialTypes returns the type updates to insert at the beginning of Dgraph's execution. It looks at the worker options to determine which types to insert.

(namespace uint64)

Source from the content-addressed store, hash-verified

637// Dgraph's execution. It looks at the worker options to determine which
638// types to insert.
639func InitialTypes(namespace uint64) []*pb.TypeUpdate {
640 return initialTypesInternal(namespace, false)
641}
642
643// CompleteInitialTypes returns all the type updates regardless of the worker
644// options. This is useful in situations where the worker options are not known

Callers 4

applyInitialTypesMethod · 0.92
applyMutationsMethod · 0.92
applyInitialTypesFunction · 0.92

Calls 1

initialTypesInternalFunction · 0.85

Tested by

no test coverage detected