WHERE n.property <> $value
Use a predicate to filter. Note that WHERE is always part of a MATCH, OPTIONAL MATCH or WITH clause. Putting it after a different clause in a query will alter what it does.
WHERE EXISTS {
MATCH (n)-->(m) WHERE n.age = m.age
}
Use an existential subquery to filter.
Comments