Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
1.14.0
-
None
-
Sprint Vanilla Ice
Description
$replaceRoot Stage throws error event on correct syntax as below
gaurav> db.produce.aggregate( [{$replaceRoot: { newRoot: "$in_stock" }} ] )
|
But works well with this syntax:
gaurav> db.produce.aggregate( [ { $replaceRoot: { newRoot: {newRoot:"$in_stock"} } } ] )
|
See attachments for details.