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

Support cross-database $unionWith

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 4.4.0
    • None
    • Query Optimization

    Description

      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: []
      }}
      

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: