Stuck with a query today and wonder if someone wants to help out?
MATCH (visitor:User)-[:VISIT]->(visit:Visit)-[:VISIT]->(user:User) WHERE (user.UserId = "xxx")
This is the pattern I am starting with. Want a list of visitors that visited user with UserId. Every Visit has a date and I need to get a list with the 10 last visits, but all those visits need to have unique visitors. Not sure how to use distinct to get what I need
Thanks a lot