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

Rename options for new $out

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.2
    • Component/s: Aggregation Framework
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

              Assignee:
              nicholas.zolnierz Nicholas Zolnierz
              Reporter:
              kyle.suarez Kyle Suarez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: