2023-07-02 06:06:48 +00:00
|
|
|
/**
|
|
|
|
* Imports
|
2023-07-07 14:01:09 +00:00
|
|
|
* ===================================
|
2023-07-02 06:06:48 +00:00
|
|
|
*/
|
2023-07-07 19:13:13 +00:00
|
|
|
const addDb = require("./db/addDb");
|
2023-07-07 14:08:38 +00:00
|
|
|
const query = require("./db/query");
|
2023-07-07 14:43:33 +00:00
|
|
|
const update = require("./db/updateDb");
|
|
|
|
const deleteDb = require("./db/deleteDb");
|
2023-07-02 06:06:48 +00:00
|
|
|
|
2023-07-07 14:01:09 +00:00
|
|
|
////////////////////////////////////////
|
|
|
|
////////////////////////////////////////
|
|
|
|
////////////////////////////////////////
|
2023-07-02 06:06:48 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Media Functions Object
|
2023-07-07 14:01:09 +00:00
|
|
|
* ===================================
|
2023-07-02 06:06:48 +00:00
|
|
|
*/
|
2023-07-07 13:58:14 +00:00
|
|
|
const db = {
|
2023-07-08 06:46:25 +00:00
|
|
|
addDb: addDb,
|
|
|
|
updateDb: update,
|
|
|
|
deleteDb: deleteDb,
|
2023-07-07 14:08:38 +00:00
|
|
|
query: query,
|
2023-07-02 06:06:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Main Export
|
2023-07-07 14:01:09 +00:00
|
|
|
* ===================================
|
2023-07-02 06:06:48 +00:00
|
|
|
*/
|
|
|
|
const dsqlEngine = {
|
2023-07-07 14:01:09 +00:00
|
|
|
db: db,
|
2023-07-02 06:06:48 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 14:06:32 +00:00
|
|
|
// module.exports = dsqlEngine;
|
2023-07-02 06:06:48 +00:00
|
|
|
|
2023-07-07 14:01:09 +00:00
|
|
|
////////////////////////////////////////
|
|
|
|
////////////////////////////////////////
|
|
|
|
////////////////////////////////////////
|
2023-07-08 05:47:57 +00:00
|
|
|
|
2023-07-15 14:06:32 +00:00
|
|
|
// exports.addDb = dsqlEngine.db.addDb;
|
|
|
|
// exports.updateDb = dsqlEngine.db.updateDb;
|
|
|
|
// exports.deleteDb = dsqlEngine.db.deleteDb;
|
|
|
|
// exports.query = dsqlEngine.db.query;
|