RETURN user.name, count(game.name) NAME NUMBER_OF_GAMES
Michael 18 RANKS NUMBER_OF_GAMES
[1,2,3] 18 RANKS NUMBER_OF_GAMES
1 ... //no matter the number of games is
2 ...
3 ...--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
MATCH (meeting:Meeting)<-[:TO]-(part)-[:PARTICIPATES]->(user:User {id: "123"}) //traverse user123's participations
MATCH (meeting)<-[:TO]-(participation)-[:PARTICIPATES]->(participant) //traverse to retrieve all the participants for the meetings matched
RETURN meeting.myArrayProperties AS myArrayProperties, count(participant) AS total_participantsMATCH (meeting:Meeting)<-[:TO]-(part)-[:PARTICIPATES]->(user:User {id: "123"})
MATCH (meeting)<-[:TO]-(participation)-[:PARTICIPATES]->(participant)
RETURN extract(property IN meeting.myArrayProperties | property) AS myArrayProperties, count(participant) AS total_participants| MyMeetingTitle | [1, 2, 3] | 2 |
| MyMeetingTitle | [1, 2, 3] | 1 |
| MyMeetingTitle | [1, 2, 3] | 1 |
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/THvROyg1W0Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.