Hi,
Here in Optional Match I'm getting only those values which are having
following relations with node 4 but I want all the values which are not
having these relations with node 4.
Please help me.

START m=node(4)
OPTIONAL MATCH
(m)-[r:FOLLOWED_BY|CREATED_BY|FOLLOW_PENDING]->(n)-[l:LOCATION]->(t)
WITH r, n, l, t
WHERE has(n.timeBoardName)
AND n.timeBoardName =~ "(?i).*"
RETURN r, n, t;

-Sukaant Chaudhary

[image: 
linkedinbutton]<http://in.linkedin.com/pub/sukaant-chaudhary/33/ba8/479/>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

<<inline: image002.jpg>>

Reply via email to