一:查询 比较操作: = <> < > <= >= 布尔操作: AND OR NOT XOR 1.把节点的前两个字为"提示"的节点去除"提示": match(l) where l.name=~'提示.*' with collect(l.name) as result unwind result as row ) 2.把带提示的节点,更新为不带提示: match(l) where l.name=~'提示.*' with collec…
Neo4j最短路径问题 1.指定某一结点 无向边: MATCH (p1:Person {name:"aaaaaaa"}),(p2:Person{name:"bbbbbb"}), p=shortestpath((p1)-[*..10]-(p2)) RETURN p 有向边: MATCH (p1:Person {name:"aaaaaaa"}),(p2:Person{name:"bbbbbb"}), p=shortestpath(…