Return custom values in query result

Nope, we don’t support custom fields. But you can use “math()” func to check and return a boolean.

cond(a, b, c) first operand must be a boolean selects b if a is true else c

More about it Get started with Dgraph

1 Like