NEO4j CQL REMOVE使用简介 REMOVE用来移除属性和标签 DELETE用来删除节点和关系 CREATE (:Person:Actor:Director {name: '周星驰', born: 1962}) CREATE (:Person:Actor {name: '吴孟达', born: 1952}) MATCH (p1:Person{name:'周星驰'}), (p2:Person{name:'吴孟达'}) CREATE (p1)-[:KNOWS{since:[1980]}]->(p2) 1. NEO4j CQL REMOVE 移除一个属性 MATCH (a {name: '周星驰'}) REMOVE a.born RETURN a.name, a.born │"a.name"│"a.born"│ ╞════════╪════════╡ │"周星驰" │null …
Continue reading →