with size({data}) as len
match path = (a:A)-[:FOO]->(b:B)-[:BAR*5]->(c:C) // len = 5
where length(path) = len + 2
foreach (idx in range(0,len-1) | SET nodes(path)[2+idx] = {data}[idx] )
On Thu, Sep 18, 2014 at 11:21 AM, wrote:
>
> I am using node js(for rest API) with neo4j. I need to get a ch
I am using node js(for rest API) with neo4j. I need to get a chain of
relationships upto 5 level using neo4j query and perform an operation on
particular nodes.In detail, I have a relationship(A-[]->B-[]->C) and an
array that contains 5 numbers. I want to fetch all the B type nodes along
the