Skip to content

MekkerMax/dbman

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

database

The database handler for BLHub.

How to run

Create a .env file in your root folder and set a uri variable like this:

MONGODB_URI=<connection string goes here>

Function usage

See the documentation for each function. Configure the function calls with the DBFunction enum.

Ex:

lib.FetchDocument(*client, "Sensordata", "deepoidsensor", filter, lib.FnFindOne)

About

The database handler for BLHub.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%