Details
-
Bug
-
Resolution: Won't Do
-
Major - P3
-
None
-
*Location*: https://docs.mongodb.com/v3.2/reference/method/db.collection.findOneAndUpdate/
*User-Agent*: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1920 x 1080
Description
I'm not sure if this was a recent update, but the way I managed to get the new document to return is by setting returnOriginal to false in the options (which is never mentioned here)