From 00c193a22a0e1028eb5143253b21f68aa9c86817 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Mon, 12 Feb 2018 14:57:58 -0500 Subject: [PATCH] Remove unused variable, update docblock --- lib/Driver.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/Driver.js b/lib/Driver.js index a348c09..6e1e520 100755 --- a/lib/Driver.js +++ b/lib/Driver.js @@ -1,4 +1,3 @@ -const array = require('locutus/php/array'); const Helpers = require('./Helpers'); /** @@ -164,10 +163,10 @@ const Driver = { * Creates a batch update sql statement * * @private - * @param {String} table - * @param {Array} data - * @param {String} updateKey - * @return {Array} array + * @param {String} table - The name of the table to update + * @param {Array} data - Array of objects containing the update data + * @param {String} updateKey - the field name to update based on + * @return {Array} - array of parameters passed to run the query */ updateBatch (table, data, updateKey) { let affectedRows = 0;