Hi Scott, 
we also have an example in ArangoDB which starts a traversal for each 
document found in an outer query:

https://docs.arangodb.com/3.0/AQL/Examples/CombiningGraphTraversals.html

As Simran pointed out, you can also pass a list of start vertices into a 
query using an array or via the bind variable @start_vertices. 

Cheers, 
Willi

On Friday, July 1, 2016 at 8:12:52 AM UTC+2, Simran Brucherseifer wrote:
>
> Hi Scott,
>
> what you can do is to wrap the traversal in another for loop, for example:
>
> FOR start_vertex IN start_vertices
>     FOR v, e, p IN OUTBOUND start_vertex edge_coll1, edge_coll2, ...
>
> The GRAPH_* functions that supported multiple start vertices did 
> essentially the same (wrap a traversal function that supports only a single 
> start vertex with a loop).
>
> There was a related question, but I can't find it right now. I'll post the 
> example of the given answer when I find it.
>

-- 
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