minor revision

This commit is contained in:
Tben
2023-07-24 14:37:08 +01:00
parent cecdd5e764
commit ab6a09558c
16 changed files with 14 additions and 906 deletions
-5
View File
@@ -50,11 +50,6 @@ function sanitizeSql(input, spaces) {
////////////////////////////////////////
}
// if (input?.toString()?.match(/\'|\"/)) {
// console.log("TEXT containing commas =>", input);
// return "";
// }
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
+1 -2
View File
@@ -19,8 +19,7 @@ const https = require("https");
*/
/**
* ==============================================================================
* Main Function
* Make a get request to Datasquirel API
* ==============================================================================
* @async
*
+2 -5
View File
@@ -1,7 +1,5 @@
/**
* ==============================================================================
* Imports
* ==============================================================================
*/
const https = require("https");
@@ -20,7 +18,7 @@ const https = require("https");
/**
* @typedef {object} PostDataPayload
* @property {string} action - "insert" | "update" | "delete"
* @property {"insert" | "update" | "delete"} action - The target action to take
* @property {string} table - Table name(slug) eg "blog_posts"
* @property {string} identifierColumnName - Table identifier field name => eg. "id" OR "email"
* @property {string} identifierValue - Corresponding value of the selected field name => This
@@ -35,8 +33,7 @@ const https = require("https");
*/
/**
* ==============================================================================
* Main Function
* Make a post request to Datasquirel API
* ==============================================================================
* @async
*