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

Rename options for new $out

    • Fully Compatible
    • Query 2018-07-30, Query 2018-08-13

      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!

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

              Created:
              Updated:
              Resolved: