cypher - Neo4j:Get every node with specified parent child variable -


here example of graph

-task        -sub task 1        -sub task 2               -sub task 2-1           -sub task 2-2 

i need result

{ task, children : [{              sub task 1,              children : [{                     sub task 2-1                     sub task 2-2                     }]            }] } 

how can using cypher, please tell if need elaborate more.

thanks


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -