DELETE
DELETE removes nodes. DETACH DELETE removes nodes and all their relationships.
MATCH (n) WHERE n.name = 'Eve' DELETE n
MATCH (n) WHERE n.name = 'Eve' DETACH DELETE nSyntax#
MATCH (variable) WHERE predicate DELETE variable
MATCH (variable) WHERE predicate DETACH DELETE variableSee Also#
Try it
Open ↗⌘↵ to run
Loading engine…