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

Use the SingleDocumentTransformation framework for $replaceRoot

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.12
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Fully Compatible

      $project and $addFields are both aliases for a document source that implements optimizations for 1:1 transformations. Since $replaceRoot is also a 1:1 transformation, we can leverage these shared optimizations.

            Assignee:
            carly.robison Carly Robison
            Reporter:
            carly.robison Carly Robison
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: