Can the "GraphQL Variables" be used in math function?

Can the GraphQL Variables described in the doc be used in math function? e.g.: math($a + 1.23)

Yes, I believe that to be the case. I am not sure about the $a part though. Let me find an expert within my company to answer this.

Nope, it doesn’t work with math. But feel free to request this in Dgraph’s repo.

Thanks for your reply. I have requested the feature in the Dgraph repo. Look forward for the implementation~

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.