dce-mango
Version:
Harvard DCE's Non-relational DB Wrapper.
20 lines • 539 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* The global state of our DB.
* @author Benedikt Arnarsson
*/
const dbState = {
// Whether the DB connection has been started (via initMango)
isInitialized: false,
// Optional version tag
schemaVersionTag: 'unversioned',
// Promise containing a list of collection names
initDB: null,
// The DB itself
db: null,
// The client connection
client: null,
};
exports.default = dbState;
//# sourceMappingURL=dbState.js.map