-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment: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
findAndModify() not defined. Needs to be findOneAndUpdate().