kmongo / org.litote.kmongo / com.mongodb.client.MongoDatabase / getCollectionOfName

getCollectionOfName

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

Gets a collection.

Parameters

collectionName - the name of the collection to return

Parameters

Return
the collection