Neo4j cypher:将时间戳存储为节点属性
尝试将时间戳Neo4j cypher:将时间戳存储为节点属性,neo4j,cypher,Neo4j,Cypher,尝试将时间戳localdatetime()存储为节点属性updatedAt: MERGE (profile:Profile {userId:{id}}) SET profile += {userId:{id}, updatedAt:localdatetime()} RETURN profile 我得到了这个错误: Current record format does not support TEMPORAL_PROPERTIES. Please upgrade you
localdatetime()
存储为节点属性updatedAt
:
MERGE (profile:Profile {userId:{id}})
SET profile += {userId:{id}, updatedAt:localdatetime()}
RETURN profile
我得到了这个错误:
Current record format does not support TEMPORAL_PROPERTIES.
Please upgrade your store to the format that support requested capability.
我正在将Neo4j
3.4.4
作为Docker容器版本运行,因此不应该发生此错误。我的密码查询错误吗?我可以通过以下方法解决此问题:
删除所有节点:
匹配(n)分离删除n代码>
删除所有graph.db标签和属性:
sudo rm-rf neo4j/data/databases/graph.db/*.
这表明这是一个问题,neo4j升级发生了,但商店升级没有执行。