Server Side Timestamps

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • 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' }

      })

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

                Created:
                Updated:
                Resolved: