Currently working with mongoose, I encountered an issue while trying to modify the results of my find query.
Users.find().exec((err, result) => {
if(result){
result.map((usr) => {
usr.isFetchedOnce = true
});
console.log("user data",result); // unfortunately 'isFetchedOnce' is not displayed
}
});