InitialSchema returns the schema updates to insert at the beginning of Dgraph's execution. It looks at the worker options to determine which attributes to insert.
(namespace uint64)
| 756 | // Dgraph's execution. It looks at the worker options to determine which |
| 757 | // attributes to insert. |
| 758 | func InitialSchema(namespace uint64) []*pb.SchemaUpdate { |
| 759 | return initialSchemaInternal(namespace, false) |
| 760 | } |
| 761 | |
| 762 | // CompleteInitialSchema returns all the schema updates regardless of the worker |
| 763 | // options. This is useful in situations where the worker options are not known |
no test coverage detected