Hi, 
if you don't use the named graph, but use the 'collection sets' query 
method, you can specify which edge collections of a graph to include: 

https://docs.arangodb.com/3.4/AQL/Graphs/Traversals.html#working-with-collection-sets

Cheers, 
Willi

On Saturday, April 20, 2019 at 12:21:10 PM UTC+2, Walt Li wrote:
>
> I have a question about AQL 
>
> In The City Graph 
> <https://docs.arangodb.com/3.2/Manual/Graphs/#the-socialgraph>, we can 
> use the distance attribute to filter the desired city node. 
>
> But if I want to query the city that can be reached directly from Berlin 
> by germanHighway. I don't want the internationalHighway.
>
> How to query? 
>
> Need I to make a attribute for  Edge germanHighway called 
> "travel-method":"germanHighway" and Filter by the "travel-method" 
> attribute?
>

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