gpt4 book ai didi

Neo4j,密码 : How to update a property name?

转载 作者:行者123 更新时间:2023-12-03 04:35:44 24 4
gpt4 key购买 nike

我有一组带有属性的节点,myproperty = "James" 我想将该属性从 (myproperty) 更新为 (name)。

Cypher 有办法做到这一点吗?

最佳答案

我自己解决了,这就是我所做的:

MATCH (n:term)
SET n.name = n.label
REMOVE n.label
RETURN n

关于Neo4j,密码 : How to update a property name?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22821714/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com