fun <reified T : Any> MongoDatabase.getCollectionOfName(collectionName: String): MongoCollection<T>
Gets a collection.
collectionName - the name of the collection to return
collectionName
Parameters
Return the collection