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)
| 637 | // Dgraph's execution. It looks at the worker options to determine which |
| 638 | // types to insert. |
| 639 | func 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 |
no test coverage detected