getCollectionOfName

inline fun <T : Any> MongoDatabase.getCollectionOfName(collectionName: String): MongoCollection<T>

Gets a collection.

Return

the collection

Parameters

collectionName

the name of the collection to return

the default target type of the collection to return