title: How do I run multiple queries in sailsjs controller?
body: <p>It seems in sailsjs you can only run and pass one set of query data at a time. For example here is the controller for my homepage:</p>
  
  <pre><code>     module.exports = {
  
         index: function (req, res) {
  
          Blog.find()
          .limit(3)
          .sort('createdAt desc')
          .where({ isPublished: 1 })
          .exec(function(err, posts) {
            if (err) return next(err);
            res.view({
              layout: "homeLayout",
              posts:posts
            });    
          });  
        }
  
      };
  </code></pre>
  
  <p>How would I query data from some other model and pass it to my view along with the blog data Im already passing?</p>