Strange result on a graph traversal

10 views
Skip to first unread message

Денис Черемисов

unread,
May 17, 2019, 12:06:27 PM5/17/19
to ArangoDB
I have latest docker image of ArangoDB.

I have two collections in my DB test: edges and nodes, defining two-loops graph

1 → 2 → 3 → 4 → 5 → 6 → 1
1 → 11 → 12 → 1

Simple query

FOR item IN 1..100 INBOUND "nodes/1" OUTBOUND edges
    RETURN item

Returns each node twice. I know 
OPTION {uniqueVertices: "path"}
will solve this, but I thought default {uniqueEdges: "path"} should take care of it itself.
nodes-test.json
edges-test.json
Reply all
Reply to author
Forward
0 new messages