CastError - Cannot $set object with empty array inside - mongoose nodejs

前端 未结 0 524
栀梦
栀梦 2020-11-22 02:02

I am new to Mongo and node.js and I am facing an issue when pushing objects containing an empty array.

I have a Card model that has an array of Users

Card:

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