Query filter without knowing predicate

New to Dgraph. What is the best way to query for objects based on any of their values that match given parameter without knowing the property name / predicate to filter on? Is that possible?

That’s really not possible in GraphQL. In DQL it could be possible, but you would have to add all possible predicates and create a big query. And I don’t think that usage is really promising. Cuz it costs a lot, you have to search in all possible predicates for that value.

1 Like