Docs Home / Compass / Create an Aggregation Pipeline

Open a Saved Pipeline打开已保存的管道

Instead of creating a new pipeline from the beginning, you can load and edit saved aggregation pipelines.您可以加载和编辑已保存的聚合管道,而不是从头创建新的管道。

Before You Begin开始之前

If you don't already have a saved pipeline, you must first:如果您还没有保存管道,则必须首先:

Steps步骤

1

Click the folder icon单击文件夹图标

In the top-left corner of the pipeline builder, click the folder icon to open the drop-down menu of saved pipelines.在管道生成器的左上角,单击文件夹图标打开已保存管道的下拉菜单。

Saved Pipeline Icon
2

Select an aggregation pipeline选择聚合管道

In the drop-down menu, hover over the pipeline you want to open and click Open.在下拉菜单中,将鼠标悬停在要打开的管道上,然后单击“打开”。

Saved Pipelines List
3

Confirm your selection确认选择

In the pop-up modal, click Open Pipeline.在弹出模式中,单击“打开管道”。

Note

Starting in MongoDB Compass 1.31, you can view your saved queries and aggregation pipelines on the My Queries tab after you connect to your cluster.从MongoDB Compass 1.31开始,您可以在连接到集群后在“我的查询”选项卡上查看已保存的查询和聚合管道。

To learn more, see viewing saved aggregations for details.要了解更多信息,请参阅查看已保存的聚合以获取详细信息。

Learn More了解更多