Hi @Vishal_Ghodake ,

What are you trying to query about the views?

You can get a list of views in the MongoDB shell by using the below command

db.getCollectionInfos({type: 'view'});

It will give you a list of all the views in your current database.

1 Like