I have got nodes connected like in the picture from the link
I do query START a=node(27), b=node(0) MATCH p=b<-[*]-a RETURN p
I expect that I will get 3 paths but got 6. First 3 are correct but the last 3 have got duplicate 'node 0'
For example:
correct path: 0 -> 41 -> 2 -> ... -> 27
duplicate node path: 0 -> 0 -> 41 -> 2 -> 27
The lengths of incorrect paths are exactly incremented by one.
How to write a query to get (in this example) exactly 3 path without duplicate nodes?
node 0
in the data? – MarcoL