Mongodb – How to update a property of the last object of a list in mongo
I would like to update a property of the last objet stored in a list in mongo. For performance reasons, I can not pop the object from the list, then update the property, and then put the objet back. I…