Rename options for new $out

XMLWordPrintableJSON

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

      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
              Reporter:
              Kyle Suarez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: