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

upsertSupplied option to update statements is mistakenly tracked in IDL as part of Stable API V1

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: Write Ops
    • Labels:
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2022-10-17, QE 2022-10-31, QE 2022-11-14, QE 2022-11-28, QE 2023-02-20, QE 2023-03-06

      The upsertSupplied option to update statements says stability: stable but it an internal implementation detail of $merge.

      upsertSupplied:
          description: "Only applicable when upsert is true. If set, and if no documents match
                        the query, the update subsystem will insert the document supplied as
                        'c.new' rather than generating a new document from the update spec."
          type: optionalBool
          stability: stable
      

            Assignee:
            projjal.chanda@mongodb.com Projjal Chanda
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: