Right,

NOT is for predicates not pattern matches, so the first variant doesn't work.

The second does though if you add a where clause

> MATCH (p:Presentation)
WHERE
> NOT (p)-[:PRESENTS]->()

> RETURN p


Am 11.04.2014 um 22:53 schrieb Kevin Burton <[email protected]>:

> 
> 
> I have tried MATCH NOT (p:Presentation)-[:PRESENTS]->() RETURN p and MATCH 
> (p:Presentation) NOT (p)-[:PRESENTS]->() RETURN p both give a syntax error.
> 
> -- 
> 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