Mongo Service
class MongoService
Contains all the functions in order to use MongoDB Database.
Functions
Link copied to clipboard
Connects to a specific database. If there is no database with the input name in the mongo instance, an empty one will be created.
Link copied to clipboard
Creates a collection inside the Mongo database. If there is already a collection with the parameter name,
Link copied to clipboard
Send the created document to the Mongo collection.
Link copied to clipboard
Requires an active instance of MongoDB at the given uri.
Link copied to clipboard
Close the connection with the Mongo instance.