Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-29-2021 12:20 PM
hello
Does anyone know why the function reduce like following returns all the path between two noeds, not the only path with the shortest time?
match (a:station {name:"Mermoz"}),(b:station{name:"Brombach"}),
p=((a)-[*..10]->(b))
with p,reduce(s=0,r in relationships(p) |s+r.duree)AS temps
return p ORDER by temps ASC LIMIT 1
07-02-2021 03:50 PM
You might need to disable "connect result nodes" in your neo4j browser sidebar settings.
All the sessions of the conference are now available online