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