First Commit

This commit is contained in:
SowinskiBraeden committed 2020-11-25 09:10:06 -08:00
commit 601e886c14
2123 files changed
+334815

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
'use strict';
let collection;
let cursor;
let db;
function loadCollection() {
if (!collection) {
collection = require('./collection');
}
return collection;
}
function loadCursor() {
if (!cursor) {
cursor = require('./cursor');
}
return cursor;
}
function loadDb() {
if (!db) {
db = require('./db');
}
return db;
}
module.exports = {
loadCollection,
loadCursor,
loadDb
};