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

Function ParseWithNamespace

schema/parse.go:721–723  ·  view source on GitHub ↗

ParseWithNamespace parses the schema and forces the given namespace on each of the type/predicate.

(s string, namespace uint64)

Source from the content-addressed store, hash-verified

719// ParseWithNamespace parses the schema and forces the given namespace on each of the
720// type/predicate.
721func ParseWithNamespace(s string, namespace uint64) (*ParsedSchema, error) {
722 return parse(s, namespace)
723}

Callers 3

readSchemaFunction · 0.92
genDQLSchemaFunction · 0.92

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected