title: Getting [object Object] when I try to display SQL query results in Jade
body: <p>I'm getting started in Node.js and I'm completely confused as to why I can't get the results of my SQL query to render on a page.</p>
  
  <pre><code>connection.query('SELECT * FROM testTable', function selectCb(err, rows, fields) {
    if (err) {
      throw err;
    }
    for (var i in rows) {
        console.log(rows[i]);
    }
    res.render('showResults.jade', {
      results: rows
    });
  });
  </code></pre>
  
  <p>The results display perfectly in the console, but when I try to render them with Jade I get a number of bullet points (equal to the number of entries in the table), but with each one followed by [object, Object]. This is my Jade file:</p>
  
  <pre><code>h1 SQL Results are as follows:
  ul
    each item, i in results
      li= item
  </code></pre>
  
  <p>Is there an extra step or something that I need to get the results to display properly?</p>