Navigation
This version has reached end of life on October 2016. Learn more about upgrading your version of MongoDB.

db.getCollectionNames()

db.getCollectionNames()
Returns:An array containing all collections in the existing database.