Sequelize How compare year of a date in query
<p>I'm trying to make this query:</p>

<pre><code>SELECT * FROM TABLEA AS A WHERE YEAR(A.dateField)='2016'
</code></pre>

<p>How can I perfome this query above in sequelize style?</p>

<pre><code>TABLEA.findAll({
      where:{}//????
     }
</code></pre>

<p>Thanks!</p>