This commit is contained in:
Tben 2023-07-07 17:00:22 +01:00
parent aa85d58daa
commit b43eb1f990
3 changed files with 2 additions and 6 deletions

View File

@ -44,8 +44,6 @@ module.exports = async function add({ dbFullName, tableName, data, tableSchema,
*/
if (duplicateColumnName && typeof duplicateColumnName === "string") {
console.log("duplicateColumnName", duplicateColumnName);
const duplicateValue = await handler({
queryString: `SELECT * FROM \`${tableName}\` WHERE \`${duplicateColumnName}\`=?`,
queryValuesArray: [duplicateColumnValue],
@ -147,8 +145,6 @@ module.exports = async function add({ dbFullName, tableName, data, tableSchema,
tableSchema,
});
console.log("DSQL: New insert =>", newInsert);
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////

View File

@ -15,7 +15,7 @@ const reAuthUser = require("./users/reauth-user");
const getUser = require("./users/get-user");
const loginWithGoogle = require("./users/social/google-auth");
const sanitizeSql = require("./utils/functions/sanitizeSql");
const dsqlEngine = require("./engine");
const dsqlEngine = require("./engine/index");
/** ****************************************************************************** */
/** ****************************************************************************** */

View File

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