OPTIONS

db.getCollectionNames()

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