38 lines
759 B
JavaScript
38 lines
759 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 = {
|
|
add: addDb,
|
|
update: update,
|
|
delete: deleteDb,
|
|
query: query,
|
|
};
|
|
|
|
/**
|
|
* Main Export
|
|
* ===================================
|
|
*/
|
|
const dsqlEngine = {
|
|
db: db,
|
|
};
|
|
|
|
module.exports = dsqlEngine;
|
|
|
|
////////////////////////////////////////
|
|
////////////////////////////////////////
|
|
////////////////////////////////////////
|