mysql, the time type is datetime
, orm is sequelize
,
how to get the data within 7 days and 30 days in the table, how to write the query conditions
(is it where date_col > 7 days ago datetime), and whether
sequelize provides a more convenient way to write