Hi guys! I need some help with a operation in Neo4j.
I have a relation like (c)-[a]->(u)-[v]->(p).
Actualy i have a query return return c, u, COLLECT(v), p ... I made this logical to isolate [v] (Visit) and preserve a perspective to single result for c, u and p, and get a set of [v].
BUT, in this same query, I need to put some restrictions with WHERE using the COLLECT(v).
My doubt is:
- Do I have a way to use de UNWIND with a WHERE clause to iterate this collection?
- There's another way to organize this query?