Find usages
It would be great to be able to right-click on any collection or view and "find usages." This will inspect the aggregation pipelines in the database, look for any use of the collection or view, and display the list of results. For example, here are places to look:
- A collection is the "View on: [collection]" for a view.
- A collection / view is used in the $lookup stage of a view via the "from" field.
- A collection / view is used in the $unionWith stage of a view via the "coll" field.
This will help developers learn about it's dependencies in order to safely make schema changes such as renaming or removing things. Thank you for your consideration.
1
vote
Ben Ghaner
shared this idea