Javascript – Mongoose – Accessing and removing a subdocument by _ID within an array of objects
party { _id: new ObjectId('6570d8aef19ec1c690cc8d34'), name: 'party', items: [ { name: 'Welcome to your todo list', _id: new ObjectId('6570d8aaf19ec1c690cc8d31') }, { name: 'Hit the + button to add a new item.', _id: new ObjectId('6570d8aaf19ec1c690cc8d32') }, { name: 'Hit this to…