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

provide union operator to union two collections (or more)

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Query

      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;
      

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

              Created:
              Updated:
              Resolved: