title: Sequelize findall for every findall is possible?
body: <p>I have this tables. Clients have Projects and Users works in Projects</p>
  
  <pre><code>Clients
  - id
  - name
  
  Projects
  - id
  - name
  - client_id
  
  Users
  - id
  - name
  
  UserProject
  - user_id
  - project_id
  </code></pre>
  
  <p>I try to return all users of the every project of client for example id=1
  Finally result, something like this JSON:</p>
  
  <pre><code>[{
     id:1
     name:"Project1"
     users:[{
              id:23
              name:"Robert Stark"
            },{
              id:67
              name: "John Snow"
            }]
   }, {
     id:2
     name:"Project2"
     users:[{
              id:1
              name:"Aria Stark"
            }]
  }]
  </code></pre>
  
  <p>If I find projects it works fine</p>
  
  <pre><code>req.tables.Project.findAll({
      where: {
          client_id:1
      }
   }).success(function(projects) {
            ...
  </code></pre>
  
  <p>If I find Users of a project it works fine</p>
  
  <pre><code>req.tables.UserProject.findAll({
     where: {
         project_id:1
     },
     include: [
         { model: req.tables.User, as: 'User' }
     ]
  }).success(function(UsersProject) {
       ...
  </code></pre>
  
  <p>But, how can I combine both finAlls to return all users in every project? Something like the next code, but that works well. How can I do it?
  I found this: <a href="https://stackoverflow.com/questions/18640627/node-js-multiple-sequelize-raw-sql-query-sub-queries">Node.js multiple Sequelize raw sql query sub queries</a> but It doesn't work for me or I do not know how to use it, because I have 2 loops not only one. I have projects loop and users loop</p>
  
  <pre><code>req.tables.Project.findAll({
      where: {
          client_id:1
      }
  }).success(function(projects) {
  
      var ret_projects=[];
  
      projects.forEach(function (project) {
  
           var ret_project={
               id:project.id,
               name:project.name,
               data:project.created,
               users:[]
           });
  
           req.tables.UserProject.findAll({
               where: {
                   project_id:project.id
               },
               include: [
                   { model: req.tables.User, as: 'User' }
               ]
           }).success(function(UsersProject) {
  
               var ret_users=[];
  
               UsersProject.forEach(function (UserProject) {
                   ret_users.push({
                       id:UserProject.user.id,
                       name:UserProject.user.name,
                       email:UserProject.user.email
                    });
               });
               ret_project.users=ret_users;
               ret_project.push(ret_project)
           });
       });
  
       res.json(projects);
  });
  </code></pre>