title: How to use Model.query() with promises in SailsJS/Waterline?
body: <p>I'm having issues with Sails.JS 0.9.8. 
  I would like to use promises with the Model.query() function (I use sails-mysql adapter).</p>
  
  <p>This code will work :</p>
  
  <pre><code>User.findOne({ email: email })
  .then(function(user) {
    console.log(user);
  });
  </code></pre>
  
  <p>but this one won't</p>
  
  <pre><code>User.query("SELECT email FROM user WHERE email = ?", [ email ]))
  .then(function(err, rows) {
    console.log(rows);
  })
  </code></pre>
  
  <p>I get undefined for both 'err' and 'rows'.</p>
  
  <p>Is it just not implemented or I am doing something wrong ?
  If not implemented, is there any alternative to use promises with .query() ?</p>
  
  <p>Thank you in advance</p>