更新路径"x"会在"x"处产生冲突 [英] Updating the path 'x' would create a conflict at 'x'
本文介绍了更新路径"x"会在"x"处产生冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试更新upsert项目时发生此错误:
This error happens when I tried to update upsert item:
Updating the path 'x' would create a conflict at 'x'
推荐答案
字段应显示在$set
或$setOnInsert
中.两者都不是.
Field should appear either in $set
, or in $setOnInsert
. Not in both.
这篇关于更新路径"x"会在"x"处产生冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文