This commit is contained in:
Tben 2023-07-07 15:16:24 +01:00
parent 57ed81ed01
commit 9007c3504d
3 changed files with 5 additions and 3 deletions

View File

@ -8,7 +8,7 @@ const sanitizeHtml = require("sanitize-html");
const sanitizeHtmlOptions = require("../utils/sanitizeHtmlOptions");
/**
* add Function
* Add a db Entry Function
* ==============================================================================
* @description Description
*
@ -103,7 +103,7 @@ module.exports = async function add({ dbFullName, tableName, data, tableSchema,
value = JSON.stringify(value);
}
insertValuesArray.push(dataValue);
insertValuesArray.push(value);
}
/** ********************************************** */

View File

@ -16,6 +16,8 @@ const dbHandler = require("../dbHandler");
* @param {object} params.data - Data to be added
* @param {string?} params.duplicateColumnName - Duplicate Column Name
* @param {string | number?} params.duplicateColumnValue - Duplicate Column Value
*
* @returns {object}
*/
async function addDbEntry({ tableName, data, duplicateColumnName, duplicateColumnValue }) {
/**

View File

@ -1,6 +1,6 @@
{
"name": "datasquirel",
"version": "1.1.62",
"version": "1.1.63",
"description": "Cloud-based SQL data management tool",
"main": "index.js",
"scripts": {