title: Querying multiple models with Sequelize.js ORM
body: <p>I need to select all <code>SPR_TYPE_UM</code> and <code>SPR_TYPE_ASSETS</code> for editing window, but one <code>SPR_TYPE_ASSETS</code>.</p>
  
  <pre><code> router.get('/edit/:assetId', function (req, res) {
        models.SPR_ASSET.findAll({
          include: [models.SPR_TYPE_UM, models.SPR_TYPE_ASSETS],
          // need to include all um and types here
          where: { ID_ASSET: req.params.assetId}
        }).then(function(data) {
          console.log(data);
          res.render('assets/edit', {
            title: 'Assets specification',
            data: data
          });
        });
      });
  </code></pre>
  
  <p>Associations </p>
  
  <pre><code>SPR_ASSET.belongsTo(models.SPR_TYPE_UM, {foreignKey: 'ID_TYPE_UM', onUpdate: "NO ACTION"});
  SPR_ASSET.belongsTo(models.SPR_TYPE_ASSETS, {foreignKey: 'ID_TYPE_ASSETS', onUpdate: "NO ACTION"});
  SPR_TYPE_UM.hasMany(models.SPR_ASSET, {foreignKey: 'ID_TYPE_UM'});
  SPR_TYPE_ASSETS.hasMany(models.SPR_ASSET, {foreignKey: 'ID_TYPE_ASSETS'});
  </code></pre>
  
  <p>Maybe I have wrong associations, or should I do this with raw query?
  This query give only one record from <code>SPR_ASSET</code>, <code>SPR_TYPE_UM</code> and <code>SPR_TYPE_ASSETS</code> .</p>
  
  <p>I need one record from <code>SPR_ASSET</code> and all records from <code>SPR_TYPE_UM</code> and <code>SPR_TYPE_ASSETS</code>.</p>