I have multiple relationships between two users that are as follow:
(u1:User)-[:BR]-(b:Buyer {value:"A"})-[:BR]-(u2:User)
(u1:User)-[:BR]-(b:Buyer {value:"B"})-[:BR]-(u2:User)
(u1:User)-[:BR]-(b:Buyer {value:"C"})-[:BR]-(u2:User)
I'd like to combine all of them into a single relationship (while keeping the old ones) between the two users, while keeping the node's value to create a list and set is as the new relationship's value like this:
(u1:User)-[:R {data:["A", "B", "C"]}]-(u2:User)
Is there any way to do this?
Edit: keywords can appear more than once.
