Not equal operator !eq


(vladimir) #1

I can get
type(func: term(live, “human”)) {
name
}
How I can get not equal term (!term) or !eq ?


(Michel Conrado (Support Engineer)) #2

You can use connectives for filters. There are no operators for Query Root other than by filter.

{
  me(func: has(is_animal)) @filter(NOT allofterms(live, “human”)) {
    name@en
  }
}

https://docs.dgraph.io/query-language/#and-or-and-not