in reply to How to get collections from mongo using perl

I need to get collection schema (column names) from a DB in Mongo. I read the MongoDB & MongoDB::Examples. But I cant able to find it. Any suggestions please. Thanks in Advance

:) Start at the beginning https://docs.mongodb.org/manual/

  • Comment on Re: How to get collection schema from mongo using perl

Replies are listed 'Best First'.
Re^2: How to get collection schema from mongo using perl
by ravi45722 (Pilgrim) on Sep 29, 2015 at 07:11 UTC

    Thanks for reply. My dead line is very near. I almost there. In my previous program I manually written all the collection(table) names into my program. But my mentor told that to get how many collections & collection names from DB through program.