What I want to do
Use uid_in
with multiple uid variables, but I get the error “Nested uid fn expects 1 uid variable, got 2”.
What I did
uid_in(pred, uid(A,B))
Dgraph metadata
v23.1.1
Use uid_in
with multiple uid variables, but I get the error “Nested uid fn expects 1 uid variable, got 2”.
uid_in(pred, uid(A,B))
v23.1.1
Step 1:
C as var(func: uid(A,B))
Step 2:
uid_in(pred, uid(C))
I like the suggested syntax better
By looking at the documentation at Functions - Query language, it seems to be supported in root function and @filters. But I guess not in uid_in.
Thanks though @vnium for the work around!