toggle menu
WarehouseService
jvm
switch theme
search in API
WarehouseService
/
server
/
MongoUtils
/
getMongoCollection
get
Mongo
Collection
fun
getMongoCollection
(
mongoInfo
:
MongoInfo
)
:
MongoCollection
<
Ingredient
>
Return
a MongoDB collection
Parameters
mongo
Info
that contains the information necessary to connect to the database