I\'m currently trying to update a data structure in a MongoDB document (using mongoose) as efficiently as possible. I have the following code:
User.findOne({userI