How to update field in mongo db if not exist, If exists then update other fields

前端 未结 0 915
耶瑟儿~
耶瑟儿~ 2020-12-06 11:19

In My scenerio, User can give inputs in combinations as shown below:

1. id , status   -- This will simply check id and will update the status
2. id , external         


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