Graph database_Neo4j learning cypher language_Using CQL command 002_Delete node_Delete attribute_Result sorting Order By---Neo4j graph database work notes 0006

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="小

おすすめ

転載: blog.csdn.net/lidew521/article/details/132319646