Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
1.9.2
-
MongoDB 3.2.1 under Ubuntu 15.10
Description
Hi, I think there's a problem in .Upsert().UpdateOne().
When you filter documents created today, using "created_on", it will always insert a new document instead of update the desired field.
Short code:
http://pastebin.com/jT0cpdGg