tronper123 commented on issue #2129: URL: https://github.com/apache/age/issues/2129#issuecomment-2489724062
If your edges are all directed the same, you could add directed arrows, ``` MATCH (a:load_number)-[]->(b:origin), (a)-[]->(c:pickup_time), (a)-[]->(d:destination), (a)-[]->(e:delivery_time) RETURN a.value, b.value, c.value, d.value, e.value ``` Also, if you use different labels for each connection type and specify the name, that will also improve the performance ``` MATCH (a:load_number)-[:orgin_label]-(b:origin), (a)-[:pickup_label]-(c:pickup_time), (a)-[:destination_label]-(d:destination), (a)-[:delivery_label]-(e:delivery_time) RETURN a.value, b.value, c.value, d.value, e.value ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@age.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org