Need Assistance with Dgraph Query Filtering Issue

Thank you very much for your response, it resolved my issue.

However, I tried the query method I described on “https://dgraph.io/docs/query-language/query-variables/,
and it seems to give me the expected results. Can you tell me the difference between the two,

v as var(func:…)

and

var(func:…){ v as uid }

?
thank you