|
For the standard reasons of simplicity and security, I would like to create read-only views using Compass. db.createView() is cumbersome to use in the shell. Since Compass maintains a list of aggregations for each collection in the pipeline builder, this request is to allow the intuitive creation of views by selecting from a drop-down list of the aggregations already defined on the selected collection.
If Compass had a View editor tab, it could handle the following goals:
- create a new view from existing aggregations,
- list the views already defined on the selected collection,
- copy the aggregation from an existing view into a new named aggregation for manipulation in the aggregation pipeline builder, and
- delete an existing view.
|