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

provide union operator to union two collections (or more)

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Querying
    • None

    Description

      This is similar to SQL UNION where two selects/finds combine their results as if from one entity.

      SELECT column_name(s) FROM table1
      UNION
      SELECT column_name(s) FROM table2;
      

      Attachments

        Issue Links

          Activity

            People

              backlog-server-query Backlog - Query Team (Inactive)
              asya.kamsky@mongodb.com Asya Kamsky
              Votes:
              31 Vote for this issue
              Watchers:
              42 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: