title: Problems with queries in NodeJS (same result with diferents queries)
body: <p>I have this query in NodeJS:
  <em>File: lists.js</em></p>
  
  <pre><code>module.exports.list = (source, fields, orderBy, queryData, start, limit, callback) =&gt; {
      db.getConnection((err, connection) =&gt; {
          if (err) {
              return callback(err);
          }
  
          let limitQuery = '';
          let limitValues = [];
          if (limit) {
              limitQuery = ' LIMIT ?';
              limitValues.push(limit);
  
              if (start) {
                  limitQuery += ' OFFSET ?';
                  limitValues.push(start);
              }
          }
  
          let whereClause = '';
          let whereValues = [];
  
          if (queryData) {
              whereClause = ' WHERE ' + queryData.where;
              whereValues = queryData.values;
          }
  
          connection.query('SELECT SQL_CALC_FOUND_ROWS ' + fields.join(', ') + ' FROM ' + source + whereClause + ' ORDER BY ' + orderBy + ' DESC' + limitQuery, whereValues.concat(limitValues), (err, rows) =&gt; {
              if (err) {
                  connection.release();
                  return callback(err);
              }
              console.log(rows);
              connection.query('SELECT FOUND_ROWS() AS total', (err, total) =&gt; {
                  connection.release();
                  if (err) {
                      return callback(err);
                  }
                  return callback(null, rows, total &amp;&amp; total[0] &amp;&amp; total[0].total);
              });
          });
      });
  };
  </code></pre>
  
  <p>And i have this in <em>table-helpers.js</em>:</p>
  
  <pre><code>module.exports.filter = (request, parent, callback) =&gt; {
      tableHelpers.filter('lists', ['*'], request, ['#', 'name', 'cid', 'subscribers', 'description'], ['name'], 'name ASC', null, callback);
  };
  </code></pre>
  
  <p>The problem is that the view keeps showing me the same even if I change the query. I can not find where the problem is.</p>
  
  <p>I hope you can help me, thanks in advance</p>