Mongoose storing the same date and time in the object of array

前端 未结 0 1295
隐瞒了意图╮
隐瞒了意图╮ 2021-01-06 18:16

My mongoose Schema as belows:

     clothes: [{
      _id: {
        type: mongoose.Schema.Types.ObjectId,
        ref: \'Clothes\'
      },
      dateAdded: {         


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