Hi
Doc: https://docs.dgraph.io/query-language/#querying-schema
How do you query a schema{}
?
Tried this:
{
showallnodes(func: has(dgraph.type)){
# dgraph.type
# expand(_all_)
schema{}
}
}
But it gives me nothing
Hi
Doc: https://docs.dgraph.io/query-language/#querying-schema
How do you query a schema{}
?
Tried this:
{
showallnodes(func: has(dgraph.type)){
# dgraph.type
# expand(_all_)
schema{}
}
}
But it gives me nothing
Just run
schema{}
In Ratel or something.
Or cURL
curl -H "Content-Type: application/graphql+-" localhost:8081/query -XPOST -d ' schema{} '
You can add in the end | python -m json.tool | less
Thanks - sometimes I am trying to hard
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.