Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3669

Support $out to a different database

    XMLWordPrintable

    Details

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

      Description

      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>}}
      

        Attachments

          Activity

            People

            Assignee:
            john.stewart John Stewart (Inactive)
            Reporter:
            esha.bhargava Esha Bhargava
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: