match (b:LabelB {id:{idb})
match (a:LabelA)
WHERE NOT (a)-->(b)
RETURN a

On Mon, Oct 20, 2014 at 10:44 AM, tgomell <[email protected]>
wrote:

> We have a lot of nodes from typ a and b. Some of theme have a relation
> some not. How can i find all nodes "a" they have no relation to b?
> The opposite is easy. :)
>
>
> Best regards, thomas
>
> --
> 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.
>

-- 
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.

Reply via email to