-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Write Ops
-
None
Currently the only way to set a timestamp when doing an update is to pass a date value from the client. It would be nice to have server side timestamps allowing you to do something similar to this:
db.data.update(
{ _id : uuid }, { '$set' :
{ foo : 'bar', tsModified : '$now' }})
- depends on
-
SERVER-6399 Refactor update() code
- Closed
- duplicates
-
SERVER-10911 Add $currentDate update modifier
- Closed
- is duplicated by
-
SERVER-9039 Enhancement of Server Side Created MongoTimestamp (0 filled)
- Closed
-
SERVER-10481 Shard key inserted ahead of timestamp field, preventing auto-generation
- Closed
- is related to
-
SERVER-9039 Enhancement of Server Side Created MongoTimestamp (0 filled)
- Closed
-
SERVER-10123 Support Timestamp(0,0) server replace for update (mods)
- Closed