MongoDB insert into subarray if multiple subarray object fields meet condition

后端 未结 0 1732
梦毁少年i
梦毁少年i 2021-01-18 02:23

I have a structure with each document looking like this in MongoDB:

{
  _id,
  item: [{
    typeID
    categoryID
    name
  }, ...]
}

I want

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