当尝试将时间戳记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容器版本运行,因此不应发生此错误。我的密码查询错误吗?
答案 0 :(得分:0)
我可以通过以下方式解决此问题:
删除所有节点:
MATCH (n) DETACH DELETE n;
删除所有graph.db标签和属性:
sudo rm -rf neo4j/data/databases/graph.db/*.*