db.getCollections method