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

Support cross-database $unionWith

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.4.0
    • Labels:
      None
    • Query Optimization

      Add support to union with the results of a collection in another database. Syntax could be something like

      {$unionWith: {
         coll: "collection name",
         db: "db name",
         pipeline: []
      }}
      

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: