title: sequelize dynamic query params
body: <p>I'm sending query params as JSON format in <code>req.query.p</code> from my front-end MVC framework  , the point is that this could be a dynamic key and value, for example:</p>
  
  <pre><code>req.query.p = {nombre : 'juan'}
  </code></pre>
  
  <p>or</p>
  
  <pre><code>req.query.p = {pais : 'chile'}
  </code></pre>
  
  <p>So I need the key, and the value to put them in the where statement, something like this</p>
  
  <pre><code>exports.select = function(req, res){
      console.log('=&gt; GET | Obtener peliculas'.bold.get);
          db.Pelicula
              .findAndCountAll({
                  limit : req.query.limit,
                  offset : req.query.offset,
                  where : req.query.p ? [req.query.p.KEY + " = ?", req.query.p.VAL] : null
              })
              .success(function(resp){
                  console.log(JSON.stringify(resp.rows, null, 4).bold.get);
                  res.json({peliculas : resp.rows, meta : { total : resp.count}});
              });
  }
  </code></pre>