I have a simple db model of a social network model. Users can follow other users and send messages. I am trying to get a list of all messages sent by the user along with what the user sent by the user sent.
START a=node:node_auto_index(UserIdentifier = "USER0") MATCH (a)-[:POSTED]->(b), (a)-[:FOLLOWS]->(c)-[:POSTED]->(d) RETURN b, d;
It returns a cross product of two, a tuple of all values ββin b connected to all values ββin d. (bxd) I would just like to make a list of messages. How can I do it? Do I need to make two separate requests?
source share