Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下查询失败:
MATCH n:User WHERE n.email = "test" SET n = {data}, n.created = timestamp() RETURN n
这是预期的吗?它是一个错误吗?有解决方法吗?我是否必须计算时间戳并将其与 一起发送{data}?
{data}
使用 2 个SET子句对您的语句进行轻微修改:
SET
MATCH n:User WHERE n.email = "test" SET n = {data} SET n.created = timestamp() RETURN n