-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Builders, Read Operations
-
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>}}