Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3024

Support $out to a different database

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.11.0
    • Affects Version/s: None
    • Component/s: Builders, Read Operations
    • Labels:
      None
    • Fully Compatible

      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:
            robert@mongodb.com Robert Stam
            Reporter:
            esha.bhargava@mongodb.com Esha Bhargava
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: