Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-540

Support ability to merge pipeline output with existing collection

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      JAVA-2947 Won't Fix
      CSHARP-2367 Won't Fix
      SCALA-473 Fixed 2.7.0
      RUST-115 Won't Fix
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion JAVA-2947 Won't Fix CSHARP-2367 Won't Fix SCALA-473 Fixed 2.7.0 RUST-115 Won't Fix

    Description

      Useful Info

      Lead:
      POCs:

      Summary:
      From the design document: We will extend the $out stage to have the following form:

      {$out: {
        mode: required, "replaceCollection" | "replaceDocuments" | "insertDocuments"
        to: required, name of the collection
        db: optional, defaults to the db of the aggregation
        uniqueKey: optional document of fields that identifies a document for replacement or merge: see below
         }
      }

      However, we will continue to accept the legacy syntax, which defaults to "replaceCollection" mode.

      Relevant Spec Changes:
      None.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: