Remove unused variable, update docblock

This commit is contained in:
Timothy Warren 2018-02-12 14:57:58 -05:00
parent 4064a99419
commit 00c193a22a

View File

@ -1,4 +1,3 @@
const array = require('locutus/php/array');
const Helpers = require('./Helpers'); const Helpers = require('./Helpers');
/** /**
@ -164,10 +163,10 @@ const Driver = {
* Creates a batch update sql statement * Creates a batch update sql statement
* *
* @private * @private
* @param {String} table * @param {String} table - The name of the table to update
* @param {Array<Object>} data * @param {Array<Object>} data - Array of objects containing the update data
* @param {String} updateKey * @param {String} updateKey - the field name to update based on
* @return {Array<String,Object,Number>} array * @return {Array<String,Object,Number>} - array of parameters passed to run the query
*/ */
updateBatch (table, data, updateKey) { updateBatch (table, data, updateKey) {
let affectedRows = 0; let affectedRows = 0;