To improve speed to updating data I propose an optional model when updating data to lazily update by use of the findAndModify command.
Note: This option would make the assumption that you are content with the data you are saving. That is to say, when it gets executed it will replace data as specified.
To improve speed to updating data I propose an optional model when updating data to lazily update by use of the
findAndModify
command.Note: This option would make the assumption that you are content with the data you are saving. That is to say, when it gets executed it will replace data as specified.
Prototype
The choices we have from my perspective is either create some magic to set a flag for lazy/findAndModify/etc mode or clone existing functions.