Mongodb: Insert document into embedded array if the array doesn't contain that element?

后端 未结 0 1992
借酒劲吻你
借酒劲吻你 2020-12-30 03:11

I\'m a newbie to MongoDB

I have the following data model:

    {
      _id: ObjecId(\'101\'),
      name: "Zara",
      categories: [
                 


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