Movies db query returning more information than expected: Is my Query wrong?

Your query is right. Don’t bother with it.

Don’t bother, just use the logic. Don’t do assumptions based on that dataset.

Again, just ignore it.

I gonna explain your query:

This have to return from the dataset only movies. If it return something else, the dataset is “corrupted”. BTW, you are using dgraph.type instead of Type() e.g:

{
  me(func: type("Movie")) {
    name
  }
}

The above query is the same thing, but you should use that last one.

This does the same as before, but it “Looks for an untagged string, then any language.”

1 Like