Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. Open MongoDB Compass and navigate to the Aggregation tab.
  2. Click the "Add Stage" button to add a new stage to your pipeline.
  3. Click the "Import Pipeline" button on the bottom of the screen.
  4. Select the .json file containing the pipeline you wish to merge.
  5. Once you have the pipeline loaded into Compass, drag and drop the stages from the imported pipeline into your existing pipeline.
  6. Drag the stages to the appropriate location within the pipeline, making sure the order of stages is correct.
  7. Save the new, merged pipeline by clicking "Save Pipeline" at the top of the screen.