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

Server Side Timestamps

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Duplicate
    • None
    • None
    • Write Ops
    • 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

              scotthernandez Scott Hernandez (Inactive)
              twhitton Travis Whitton
              Votes:
              25 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: