How to manipulate the database
In the database implementation, there's a DBPrefix to reference each prefix in a simpler way:
There are also three structs, namely:
DBServer
- struct that contains the host and version of the database that will be connected to.DBEntry
- struct that contains an entry to be inserted or read by the database and has only two members: key and value, which are both strings.WriteBatchRequest
- struct that contains multipleDBEntrys
to be inserted and/or deleted all at once.
Last updated