access the collections, index without reading data on mongodb

bibi92
bibi92 used Ask the Experts™
on
Hello,

is it possible to access the collections, index without reading data on mongodb ?

Thank you

Best regards
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
SQL Server DBA & Architect, EE Solution Guide
Awarded 2009
Distinguished Expert 2018
Commented:
Hope you meant without reading data from mongodb, it shouldn't touch the data tables but from the metadata..
If so, then below can help
collections - listCollections
Index - getIndexes for indexes on an object or system.indexes for all indexes..

Author

Commented:
Thank you regards
Raja Jegan RSQL Server DBA & Architect, EE Solution Guide
Awarded 2009
Distinguished Expert 2018

Commented:
Welcome..

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial