Cannot read property 'castForQuery' of undefined at castArrayFilters in Node.js

前端 未结 1 1997
不知归路
不知归路 2021-02-04 22:49

I am using arrayFilters as option in findOneAndUpdate (in mongoose) to update value of name and

相关标签:
1条回答
  • 2021-02-04 23:10

    I think there is a bug since version 5.4.4 or maybe another previous version. It was reported here. For the moment I solved it by downloading the mongoose version to 5.3.15.

    0 讨论(0)
提交回复
热议问题