Mongodb, Replace if exist, otherwise create new docs,

前端 未结 0 1576
走了就别回头了
走了就别回头了 2021-02-08 18:49

Is there any built in function in mongodb which accepts an array as input, add each as item as a document, if the document already exist, based on unique indexes (see below), th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题