minor revision
This commit is contained in:
@@ -50,11 +50,6 @@ function sanitizeSql(input, spaces) {
|
||||
////////////////////////////////////////
|
||||
}
|
||||
|
||||
// if (input?.toString()?.match(/\'|\"/)) {
|
||||
// console.log("TEXT containing commas =>", input);
|
||||
// return "";
|
||||
// }
|
||||
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
|
||||
+1
-2
@@ -19,8 +19,7 @@ const https = require("https");
|
||||
*/
|
||||
|
||||
/**
|
||||
* ==============================================================================
|
||||
* Main Function
|
||||
* Make a get request to Datasquirel API
|
||||
* ==============================================================================
|
||||
* @async
|
||||
*
|
||||
|
||||
+2
-5
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user