getMongoCollection

fun getMongoCollection(mongoInfo: MongoInfo): MongoCollection<Ingredient>

Return

a MongoDB collection

Parameters

mongoInfo

that contains the information necessary to connect to the database