Neo4j cypher returns all nodes where the property matches any element of the array

It should be easy, I'm missing something. I want to combine a group of nodes and return everything where the ID matches any of the group of given identifiers. Something like that:

MATCH (b:`Band`)-[r:`something`]->(u:`SomethingElse`)
WHERE b.uuid IN ['1', '2', '3']
RETURN b

This returns the first node that matches. I want all this to fit. What am I missing?

+4
source share
1 answer

It worked. Leaving this in case anyone else wants to know how to do it.

+4
source

All Articles