Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
None
-
Node v4.4.7 on Debian
*Location*: https://docs.mongodb.com/v3.0/tutorial/create-an-auto-incrementing-field/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1440 x 900
Node v4.4.7 on Debian *Location*: https://docs.mongodb.com/v3.0/tutorial/create-an-auto-incrementing-field/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36 *Referrer*: https://www.google.com/ *Screen Resolution*: 1440 x 900
Description
findAndModify() not defined. Needs to be findOneAndUpdate().