datasquirel/engine/index.js

38 lines
753 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");
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-07 14:01:09 +00:00
add: add,
update: update,
2023-07-07 14:43:33 +00:00
delete: 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
};
module.exports = dsqlEngine;
2023-07-07 14:01:09 +00:00
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////