Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-25-2020 08:03 PM
I'm new to neo4j and cypher and am having trouble with grouping queries with 'WITH' and 'Collect', so i have this graph as shown in the image below :
processes:[
{
node,
subprocesses:[
{node , events: [
{node}
]
},
{ //
}
]
},
{
node,
subprocesses:[
{node , events: [
{node}
]
},
{ //
}
]
}
]
Is there a way to regroup the graph like this on cypher or not ? Thank in advance!!
12-26-2020 04:01 AM
Can you please, post the query you have used so far ?
01-02-2021 03:09 AM
Although you can build the query to match your response, you will have to build the response in the required JSON format yourself.
Not sure of how many embedded levels you can have in your JSON: one or more than one?
01-02-2021 11:08 AM
I'm having a hard time following what you want but I will suggest maybe the DISTINCT
function could help.
All the sessions of the conference are now available online