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

Rename options for new $out

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.2
    • Aggregation Framework
    • Fully Compatible
    • Query 2018-07-30, Query 2018-08-13

    Description

      In SERVER-35893, we changed $out to accept new syntax in the form

      $out: {
          mode: "insert" | "replace",
          dropTarget: true | false
      }
      

      After some discussion, we'd like to ban dropTarget: true with any mode other than mode: "insert". Therefore, we'd like to collapse dropTarget into another mode and rename them appropriately:

      $out: {
          mode: "insertDocuments" | "replaceDocuments" | "replaceCollection"
      }
      

      Names subject to bikeshedding!

      Attachments

        Issue Links

          Activity

            People

              nicholas.zolnierz@mongodb.com Nicholas Zolnierz
              kyle.suarez@mongodb.com Kyle Suarez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: