Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
2.4.4
-
None
-
ALL
Description
db.col.update({_id:1},{$setOnInsert:{ts:new BsonTimestamp(0,0)}},
{upsert:true});
should auto-populate the timestamp like a regular insert would. (i.e. if the timestamp is the first or second entry in the $setOnInsert sub-document.)
Attachments
Issue Links
- duplicates
-
SERVER-10123 Support Timestamp(0,0) server replace for update (mods)
-
- Closed
-