Slackbot
04/14/2021, 3:57 PMStanislav
04/14/2021, 4:11 PMwey
04/15/2021, 5:20 AMmade_payment, but i didnt change it when i realised it). I was thinking, in some extent, match may fulfill your requirement(maybe not that straightforward as the piped fetch will do)?
(user@nebula) [payment]> MATCH (v:account{username:"tom"})-[e1:made_payment]-(v1)-[e2:made_payment]-(v2) RETURN DISTINCT e2 AS via, v2.username AS name;
+-------------------------------------------------+-------+
| via | name |
+-------------------------------------------------+-------+
| [:made_payment "sue"->"sam" @0 {payment_id: 1}] | "sam" |
+-------------------------------------------------+-------+
Hopefully this may help you a little bit(or maybe not, as i didn’t further check like if we put match in 4 steps, how to enable 3 steps results)