In DGraph documentation, it is mentioned that we can use expand() function in four ways. One of them is:
- Predicates can be stored in a variable and passed to
expand()to expand all the predicates in the variable
Could someone please give an example as to how it can be achieved?