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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -