updates
This commit is contained in:
parent
57ed81ed01
commit
9007c3504d
@ -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);
|
||||
}
|
||||
|
||||
/** ********************************************** */
|
||||
|
@ -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 }) {
|
||||
/**
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user