title: Format of SQL query results in node.js
body: <p>Using the <code>mssql</code> module in node.js, I run a SQL query, but I can't access the results as an array. I've seen that this is done using the mysql module, but I can't find any examples that explain the result format in <code>mssql</code>:</p>
  
  <pre><code>dbRequest.query('select * from DATABASE', function (err, results) {
  
          if (err) console.log(err);
  
          // does not work
          console.log(results[1]);
      });
  </code></pre>