cypher帮助-创建或更新节点
需要使用密码插入或更新的帮助 我有一个密码查询cypher帮助-创建或更新节点,cypher,Cypher,需要使用密码插入或更新的帮助 我有一个密码查询 cypher = 'MERGE (user:Person:User {email: {email}}) ON CREATE user = {props} SET user.created = timestamp() ON MATCH SET user.lastSeen = timestamp() RETURN user'; 这似乎抛出了一个错误: errorError:无效输入“u”:应为空白、注释或集合(第1行第53列) “合并(use
cypher = 'MERGE (user:Person:User {email: {email}}) ON CREATE user = {props} SET user.created = timestamp() ON MATCH SET user.lastSeen = timestamp() RETURN user';
这似乎抛出了一个错误:
errorError:无效输入“u”:应为空白、注释或集合(第1行第53列)
“合并(user:Person:user{email:{email}})上的CREATE user={props}SET user.created=timestamp()上的MATCH SET user.lastSeen=timestamp()返回用户”
如果有人能指出我可能做错了什么,我将不胜感激
- 谢卡尔
cypher = '
MERGE (user:Person:User {email: {email}})
ON CREATE SET user = {props}, user.created = timestamp()
ON MATCH SET user.lastSeen = timestamp()
RETURN user';