Gov*_*ngh 1 nodes neo4j cypher
我得到多个节点
MATCH(n:Employee{name:"Govind Singh"}) return (n);
Run Code Online (Sandbox Code Playgroud)
实际上我错误地创建了重复的节点。
现在我想删除除一个之外的所有重复节点。
假设重复节点都是等价的并且没有关系:
MATCH (n:Employee {name: "Govind Singh"})
WITH n
SKIP 1
DELETE n
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4900 次 |
| 最近记录: |