Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4197

Document alwaysUpsert flag in applyOps

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.14
    • None
    • manual
    • None

    Description

      Can we add documentation for the alwaysUpsert flag in applyOps? I'm not 100% clear on the behavior. I'm also wondering why it's true by default. It seems like false would handle the more common use cases.

      Here's the JIRA where it was originally added:
      https://jira.mongodb.org/browse/SERVER-7452

      Attachments

        Activity

          People

            michael.paik Michael Paik
            kvigen Kyle Vigen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 13 weeks, 6 days ago