Mingo
Collections

Views

Create and manage MongoDB views in Mingo using aggregation pipelines.

MongoDB views are read-only collections defined by aggregation pipelines. They behave like regular collections but always show the latest data transformed by their pipeline.

Creating a View

There are two ways to create a view:

  1. From the Aggregator — build your pipeline, then use the Create View action to save it as a view
  2. From collection actions — right-click a collection and select Create View, then define the pipeline

When creating a view, provide:

  • View name — the name for the new view
  • Pipeline — the aggregation pipeline that defines the view's output

Browsing Views

Views appear in the sidebar alongside regular collections, marked with a distinct icon. Open a view tab to browse its documents just like a regular collection.

Since views are computed on the fly, they always reflect the current state of the source collection.

Managing Views

The View section in a collection tab shows all views defined on that collection. From here you can:

  • View the pipeline — see the aggregation pipeline that defines a view
  • Drop a view — remove the view (this does not affect the source collection)

Limitations

Views are read-only — you cannot insert, update, or delete documents in a view. Some operations like indexing are also not available on views.