title: How to cast field type in sequelize, when use raw query?
body: <ul>
  <li>MSSQL dialect</li>
  <li>in table I have a column with bigint type</li>
  <li>when I do a raw query like:</li>
  </ul>
  
  <pre><code>const product = {
    id: 1,
    isAvailable: true,
    lastUpdated:  4652082390 // epoch
  };
  
  await sequelize.query(`
                  UPDATE Product SET
                      isAvailable = $isAvailable,
                      lastUpdated = $lastUpdated
                  WHERE id = $id`,
                      {
                          bind: {
                              location: latlong,
                              isAvailable: isAvailable,
                              lastUpdated: lastUpdated,
                              id: product.id
                          }
                      }
                  );
  </code></pre>
  
  <p>it fails with error:</p>
  
  <blockquote>
    <p>SequelizeDatabaseError: Validation failed for parameter 'lastUpdated'. Value must be between -2147483648 and 2147483647.</p>
  </blockquote>
  
  <p>looks like it treat lastUpdated value as INTEGER, but not BIGINT :(</p>
  
  <p>I tried cast value type as in shown in docs: <a href="http://docs.sequelizejs.com/manual/raw-queries.html" rel="nofollow noreferrer">http://docs.sequelizejs.com/manual/raw-queries.html</a>
  but looks like this feature works only for Postgress which is not mine case</p>