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

Support 'let' variables used within $merge custom pipeline update

    • Fully Compatible
    • Query 2020-05-18, Query 2020-06-01

      Here we're talking about a $merge stage which uses the pipeline option for 'whenMatched'. If that custom pipeline references a variable defined in the 'let' parameter to the aggregate command, it should work just fine.

      Split fromĀ SERVER-46115 since it depends on SERVER-46708 to issue the sub-updates.

            Assignee:
            katherine.wu@mongodb.com Katherine Wu (Inactive)
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: