Mongodb – How to update a nested object in array that is in the array of object in mongoose
I have Locations collection in MongoDB that includes two documents. Each one of them has its own array of confirmed bookings as objects with Ids. How can I update the object that has _id: c1? Is it possible to do…