MongoDB - list out all collections in a database

Professionaluser
Posted by Professionaluser under Sql Server category on | Points: 40 | Views : 272
MongoDB provides the following command(show collections ) to list out the collections in a database

>use TestDatabase
switched to db TestDatabase
>show collections
TestcollectionName
system.indexes

Comments or Responses

Login to post response