Browse Source

Remove unused variable, update docblock

keep-around/960d7f5051b0a8b0dd1514e5a215071931c751a8
Timothy Warren 1 year ago
parent
commit
00c193a22a
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      lib/Driver.js

+ 4
- 5
lib/Driver.js View File

@@ -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<Object>} data
* @param {String} updateKey
* @return {Array<String,Object,Number>} array
* @param {String} table - The name of the table to update
* @param {Array<Object>} data - Array of objects containing the update data
* @param {String} updateKey - the field name to update based on
* @return {Array<String,Object,Number>} - array of parameters passed to run the query
*/
updateBatch (table, data, updateKey) {
let affectedRows = 0;

Loading…
Cancel
Save