new dbService()
The dbService provides access to the various DB's. Additionally, they allow the loading of the DB's only once, which stops any race conditions of trying to open the DB more than once.
The DBs returned by the dbService
are all nedb Databases.
Documentation on Nedb.
- Source:
Methods
(static) getJobHistoryDB() → {nedb}
Get the Job History DB reference.
- Source:
Returns:
- Type:
-
nedb
Nedb (reference) object to query.
(static) getSubmittedJobsDB() → {nedb}
Get the Submitted jobs DB reference.
- Source:
Returns:
- Type:
-
nedb
Nedb (reference) object to query.