Support $out to a different database

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.0
    • Affects Version/s: None
    • Component/s: Builders, Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The $out aggregation stage now supports outputting to a different database. It still accepts the old form of

      {$out: <collName>}
      

      To use a different database, the new syntax is

      {$out: {db: <dbName>, coll: <collName>}}
      

            Assignee:
            John Stewart (Inactive)
            Reporter:
            Esha Bhargava
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: