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

Support $currentDate expression for insert

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Write Ops
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

      Description

      The `$currentDate` update modifier is great and is something our project really needs. But we want to use it during an `insert`. As it stands we could do an update with upsert:true but we assume that the update will be slow/less-efficient than insert.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: