The database handler for BLHub.
Create a .env file in your root folder and set a uri variable like this:
MONGODB_URI=<connection string goes here>See the documentation for each function. Configure the function calls with the DBFunction enum.
Ex:
lib.FetchDocument(*client, "Sensordata", "deepoidsensor", filter, lib.FnFindOne)