在使用sequelize的findAndCountAll方法时,由于需要分页,设置offset和limit
结果报错
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''10'' at line 1
原因,offset和limit只能传入数值,不能传入字符串
要注意传入的数据格式