I'm looking to make a cypher query which finds all outgoing relationships from node, excluding a couple. Here's an example:
START node=node(5), excludeRels=rel(7,8,9)
MATCH node-[rels]->x
RETURN rels
But I would like to exclude the rels in excludeRels
from the returned rels
. So if node(5)
has outgoing relationships 6,7,8,9 and 10, I would like 6 and 10 to be returned.
Is this possible?