Sequelize – 不区分大小写

我怎么能在Sequelize中实现这个?

SELECT * FROM table where lower(column) LIKE ('abcd%'); 

我找不到一个方法来混合更低的function与$像

我find了解决办法:

 Table.findAll({ attributes: ['createdAt', 'col'], where: { $and:[ { createdAt:{ $between:[minDate,maxDate] } }, Sequelize.where(Sequelize.fn('lower',Sequelize.col('col')), { $like: 'abcd%' }) ] } });