Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
Description
I have a pipeline with two stages, $match and $group. I disable the $match stage using the toggle and copy the pipeline to the clipboard. The result is this:
, { $group: { _id: "$departureAirportFsCode", flights: { $push: "$flightId" }} } |
The comma preceding the stage shouldn't appear, since there is only one stage enabled.