Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1650

Server Side Timestamps

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Write Ops
    • Labels:
      None

      Description

      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' }

      })

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                25 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: