Mongoose findOneAndUpdate with undefined set as null

前端 未结 0 1769
北恋
北恋 2020-11-30 03:47

I have problem understanding findOneAndUpdate with undefined and null.

when creating an object:

const user = new User({
   _id: 1,
   name: "foo&q         


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