datasquirel/engine/index.js
2023-07-15 15:06:32 +01:00

43 lines
941 B
JavaScript

/**
* Imports
* ===================================
*/
const addDb = require("./db/addDb");
const query = require("./db/query");
const update = require("./db/updateDb");
const deleteDb = require("./db/deleteDb");
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* Media Functions Object
* ===================================
*/
const db = {
addDb: addDb,
updateDb: update,
deleteDb: deleteDb,
query: query,
};
/**
* Main Export
* ===================================
*/
const dsqlEngine = {
db: db,
};
// module.exports = dsqlEngine;
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
// exports.addDb = dsqlEngine.db.addDb;
// exports.updateDb = dsqlEngine.db.updateDb;
// exports.deleteDb = dsqlEngine.db.deleteDb;
// exports.query = dsqlEngine.db.query;