title: How to use dynamic filters in where on sequelize?
body: <p>In my route I am trying to get the registers with a dynamic columns, than the client request the route like a "<strong>router.get('/get-by/'"</strong> than specify the field of my table...</p>
  
  <p>I'm using like this</p>
  
  <pre><code>var field = req.body.field
      Territory
        .findOne({
          where: {
            field : req.params.id
          }
        })
  </code></pre>
  
  <p>but nothing works. Can anyone help me?</p>