Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Jokes
Docs Menu
Docs Home
/ / /

Create a View from Pipeline Results

To quickly access the results of an aggregation pipeline without having to run it, you can create a view on Atlas. Views are read-only, so they can help keep your data secure by limiting user access to a predefined set of results.

Creating a view does not save the aggregation pipeline itself.

1
  1. If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your project from the Projects menu in the navigation bar.

  3. In the sidebar, click Data Explorer under the Database heading.

    The Data Explorer displays.

Note

You can also go to the Clusters page, and click Data Explorer under the Shortcuts heading.

2
  1. Select the collection.

  2. In the aggregation pipeline pane, click the Save drop-down button and select Create view.

Save drop-down button
3

The view name must be between 6 and 1024 characters long.

4

Click the Create button to create your view. Atlas creates a view from your pipeline results in the same database where the pipeline was created and displays saved views with the icon.

Back

Export to a Language

On this page