Hi there,

In some AQL query, I need to iterate over all docs connected to a starting 
doc through some edge type + the starting doc itself. The way I'm doing 
this currently is:
LET followings = (FOR f in 1 OUTBOUND 'users/123' follows RETURN f) 
FOR following in UNION(followings, [ DOCUMENT('users/123') ]) 
...


Is this the right/best way to achieve that, or would there be another AQL 
construct that would be suitable?

Thanks in advance,
Thomas

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to