Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-22-2020 06:15 PM
I would like to combine paths from multiple match query. Consider a query
MATCH path_1 = (t1:Type1)-[r1:]->(t2:Type2)
MATCH path_2 = (t2)-[r2]->(t3:Type3)
MATCH path_3 = (t1)-[r3]->(t4:Type4)
RETURN path_1,path_2,path_3
apoc.path.combine(path_1,path_2) as path
, But it just combines two paths. I want to combine more than three paths.11-22-2020 07:33 PM
With apoc.path.combine(path_1,path_2) as path12
WITH apoc.path.combine(path12, path_3) as path
RETURN path
11-23-2020 09:22 AM
I don't understand what you are trying to do. If t2,t3,t4 are distinctly different nodes then you are in trouble.
All the sessions of the conference are now available online