match (a)-[r:friend_of]-(b) where a.name='john' return b.name
in this case it will giving all the nodes which are [r:friend_of]
relation with john,
but, I want those who are not [r:friend_of]
relation with john
so, can any plz help me, thanks in advance,
match (a)- NOT [r:friend_of]-(b) where a.name='john' return b.name
match (a)- <> [r:friend_of]-(b) where a.name='john' return b.name
am trying this, but am not getting