[CSHARP-3024] Support $out to a different database Created: 24/Mar/20  Updated: 28/Oct/23  Resolved: 04/Apr/20

Status: Closed
Project: C# Driver
Component/s: Builders, Read Operations
Affects Version/s: None
Fix Version/s: 2.11.0

Type: New Feature Priority: Major - P3
Reporter: Esha Bhargava Assignee: Robert Stam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Epic Link: CSHARP-2932
Backwards Compatibility: Fully Compatible

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



 Comments   
Comment by Githook User [ 04/Apr/20 ]

Author:

{'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}

Message: CSHARP-3024: Support $out to a different database.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/8be59148e6eb4c2ea573ea0fcf757f5a8f505078

Generated at Wed Feb 07 21:44:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.