title: nodejs npm mysql return single row handle
body: <p>Im using <code>node</code> and <code>npm mysql</code> to do some database work.</p>
  
  <p>Is there any way to avoid using the <code>result[0]</code> , if i know Im only going to receive a single row?</p>
  
  <pre><code>connection.query({
      sql: "SELECT spend FROM `account` WHERE `name` = ? order by date desc limit 1",
      values: [market.name]
      }, function (error, results, fields) {
          market.fee = results[0].age;
          resolve(market);
      });
  </code></pre>