Then let’s look at how to delete nodes
can be seen first
We are here
For example, I want to delete Zhang San
can be seen
match (n:student) where n.name = "Zhang San" delete n
This deletes the node whose name is Zhang San in the student collection.
Then we'll see
How to delete a relationship
match (n:student)-[r]->(m:student) where n.name="小