Mongodb – Mongoose – find object and delete objeto inside array
I have this document : [ { "_id": "626c5fd2aa0fc0e4eef45c94", "productos": [ { "_id": "626d50b621180e291a330333", "nombre": "ciruelas", "descripcion": "marca lala", "codigo": 33, "foto": "https://cdn3.iconfinder.com/data/icons/fruits-52/150/icon_fruit_morango-256.png", "precio": 15, "stock": 30, "timestamp": "2022-04-30T15:06:45.128Z", "__v": 0 } ], "timestamp": "2022-04-29T21:59:35.301Z", "__v": 0 }, { "_id":…