I need to retrieve multiple nodes in Neo4j and I only have there IDs.
Is there a way to retrieve nodes that have their ID in the given set in one cypher query ? Or do I have to call the db for each ID ?
I'm using Neo4j 2.1.5
Thanks !
You can match within an Array.
MATCH (u:`User`) WHERE ID(u) IN [1, 2, 3] RETURN u