After adding `runValidators: true`, my Mongoose update function is erroring with ` cannot read property 'ownerDocument' of null `

前端 未结 0 546
深忆病人
深忆病人 2020-12-03 06:33

Thank you in advance for any help that anyone can provide.

I currently have something like below for my mongoose schema:

const personSchema = new mongo         


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