In principle two ways:

MATCH (n:Label)
WHERE NOT (n)--()
RETURN n

(you might leave off the label)

or

MATCH (n:Label)
OPTIONAL MATCH (n)--(m)
WITH n,m
WHERE m IS NULL
RETURN n


Am 17.07.2014 um 17:59 schrieb David Bigelow 
<davidhbige...@simplifiedlogic.com>:

> I am completely stumped on this.
> 
> Is there a way to find nodes that have NO connection to anything else in the 
> graph?!
> 
> I have tried several different ways - but nothing seems to be working.
> 
> Any suggestions?!
> 
> Dave
> 
> -- 
> 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 neo4j+unsubscr...@googlegroups.com.
> 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 neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to