Hi Kenneth,
I think you can use the ternary operator for this in AQL:
FOR c IN clients
RETURN {
client: c.client,
c.address: IS_NULL(c.mailing_address) ? c.physical_address :
c.mailing_address
}
Best regards
Jan
> --
> You received this message because you are subscribed to the Google
> Groups "ArangoDB" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
arangodb+u...@googlegroups.com
> <mailto:
arangodb+u...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.