show mongodb collections in rubt code example Example: show collections in mongodb db.getCollectionNames()