{
var(func: eq("id","1","2")) {
uids as uid
phone_number
~phone_number
email
~email
}
q(func: uid(uids)) { # uid() could be replaced by some function that I don't know about.
ids as id
count(id)
count(email)
}
}
I guess it’s sort of like groupBy(), but without having to specify a single edge to group on. We’re trying to avoid adding nodes just to group components like this.