I\'ve a query that fetches nodes based on a property
MATCH (c { type: \'sometype\' }) WITH c LIMIT 100 RETURN c
all I want is to also fetch
It's better if you used labels instead of a property for type. This will make your queries very fast using schema indexes.
MATCH (a:SOMETYPE) -[r] - (b :SOMETYPE) RETURN DISTINCT r