Zaktualizuj element tablicy o tablicy w Mongoose

db.inventory.updateOne(
   { _id: 2 },
   { $addToSet: { tags: { $each: [ "camera", "electronics", "accessories" ] } } }
 )
Sajal Mahapatra