Hello everyone, I am working with neo4j, I have comments that are related to a post. how to have each comments and all its child comments. can someone help me please
Hi! You're looking for Variable-length pattern matching: Patterns - Cypher Manual
Example: p = MATCH (:Comment)<-[:IS_CHILD*]-(c)