datasquirel/engine/index.js

35 lines
651 B
JavaScript
Raw Normal View History

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 14:01:09 +00:00
const add = require("./db/add");
const update = require("./db/update");
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-07 14:01:09 +00:00
add: add,
update: update,
delete: update,
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
};
module.exports = dsqlEngine;
2023-07-07 14:01:09 +00:00
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////