Discussion:
[arangodb-google] Merge Vertices in graph traversal
shehroj khan
2018-02-27 06:40:54 UTC
Permalink
How can we merge vertices data in graph traversal.

Tried this.

FOR v,e,p in 1..6 OUTBOUND 'products/shirt' GRAPH 'kurmah'
FOR vertex IN p.vertices
FILTER vertex.dependencies != null
FOR dependency in vertex.dependencies.cuff
LET values = (FOR v1,e1,p1 in 1..6 OUTBOUND 'products/shirt'
GRAPH 'kurmah'
FOR vertex1 IN p1.vertices
FILTER vertex1._key=='shirt_cuff'
return v1)
return distinct merge(v,values)
--
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...