Arangodb AQL Graph traversal on multiple collections with different filtering conditions?

Viewed 12

Say that I am quering using the following structure,

edgeCollection1 has a key "weight1",

edgeCollection2 has a key "weight2".

How do i write filtering conditions, such that when using edgeCollection1, I filter by "weight1", and when using edgeCollection2, I filter by "weight2".

FOR vertex[, edge[, path]]
  IN [min[..max]]
  OUTBOUND|INBOUND|ANY startVertex
  edgeCollection1, ..., edgeCollectionN
  [PRUNE pruneCondition]
  [OPTIONS options]
0 Answers
Related