$in operator is not matching the elements in array

后端 未结 0 1673
陌清茗
陌清茗 2020-12-12 01:32

My user schema has field myskills which is an array of category ids.

myskills: [{
   type: Schema.Types.ObjectId,
    
   ref: "categories"
}],


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