From b43eb1f9909574bdef9faa31e5240224fe9bdb95 Mon Sep 17 00:00:00 2001 From: Tben Date: Fri, 7 Jul 2023 17:00:22 +0100 Subject: [PATCH] updates --- engine/db/add.js | 4 ---- index.js | 2 +- package.json | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/engine/db/add.js b/engine/db/add.js index f9d527f..c523053 100644 --- a/engine/db/add.js +++ b/engine/db/add.js @@ -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); - //////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// diff --git a/index.js b/index.js index 30ca4fb..c2bdc74 100644 --- a/index.js +++ b/index.js @@ -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"); /** ****************************************************************************** */ /** ****************************************************************************** */ diff --git a/package.json b/package.json index d8877ba..a33aec1 100644 --- a/package.json +++ b/package.json @@ -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": {