Hi guys, thanks for the responses!
I'm actually using cypher right now, I should have included the
current query:
START n=node(1)
MATCH n-[:pull]->x
RETURN distinct
x.id
The issue here is that it only seems to traverse to depth 1. I'd like
to find all nodes connected to the start node via path :pull
(distinct). I tried this:
START n=node(1)
MATCH n-[:pull]->x-[:pull]->x2-[:pull]->x3
RETURN
x.id,
x2.id,
x3.id
I thought maybe the above would go to a depth of 3 (still not what I
ultimately am looking for since I'd like unlimited depth, but it's a
start). I didn't have much success with it though.
Thoughts?
On Dec 26, 3:30 am, Peter Neubauer <
peter.neuba...@neotechnology.com>
wrote:
> Hi Marc,
> The easiest way is probably using Cypher at /db/data/cypher, see the REST
> documentation .
>
> This would be something like
>
> Start n = node(1) match n-[:myrel]->x return n,x
>
> /peter
>