title: sails.js Blueprint query by relations
body: <p>I'm running sails <code>0.10.5</code> with postgresql support and I want to ask if there is any way to do a query to filter results by relations. For example:</p>
  
  <pre><code>http://api/documents?user.role=Admin
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>http://api/documents?where={"user.role": "Admin"}
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>http://api/documents?where={"user.role": {"like": "%Admin%"}}
  </code></pre>
  
  <p>Where a model Document has a belongsTo relation to User which has an attribute called role (string f.e.).</p>
  
  <p>I wasn't able to do such query, Am I missing something?</p>
  
  <p>Thank you!</p>