-
Type:
New Feature
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.6.2, 4.0.6
-
Component/s: Write Ops
-
Query
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
$setOnInsert has different behaviour to $insert, in that MongoDB server does not replace an empty timestamp with the current timestamp value.