diff --git a/package.json b/package.json index 477a62a..e2e2e5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.8.6", + "version": "1.8.7", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": { diff --git a/utils/get.js b/utils/get.js index e152cd6..7e214bb 100644 --- a/utils/get.js +++ b/utils/get.js @@ -31,8 +31,8 @@ const localGet = require("../engine/query/get"); * @async * * @param {Object} params - Single object passed - * @param {string} params.key - API Key - * @param {string} params.db - Database Name + * @param {string} [params.key] - API Key + * @param {string} [params.db] - Database Name * @param {string} params.query - SQL Query * @param {string[]} [params.queryValues] - An array of query values if using "?" placeholders * @param {string} [params.tableName] - Name of the table to query diff --git a/utils/post.js b/utils/post.js index 0f581fd..b6806f9 100644 --- a/utils/post.js +++ b/utils/post.js @@ -43,8 +43,8 @@ const localPost = require("../engine/query/post"); * @async * * @param {Object} params - Single object passed - * @param {string} params.key - FULL ACCESS API Key - * @param {string} params.database - Database Name + * @param {string} [params.key] - FULL ACCESS API Key + * @param {string} [params.database] - Database Name * @param {PostDataPayload | string} params.query - SQL query String or Request Object * @param {any[]} [params.queryValues] - Query Values if using "?" placeholders * @param {string} [params.tableName] - Name of the table to query