Alice <friend> Tom
Alice <friend> Bob
Bob <friend> Tom
If I 'm Tom. I want to know who point to me with a edge friend
.
I should get the answer “Alice, Bob”.
I can do it with “~friend”.
query x{
x(func: uid(Bob'sUid)){
~friend{
uid
}
}
}
However, I want to know, Is there any other way to make it ,without <~friend>?