model.findAndCountAll({
where: sequelize.where(sequelize.fn('FIND_IN_SET', uid, sequelize.col('users')), '>', 0)
})
sequelize find_in_set 用法
最新推荐文章于 2023-03-14 15:32:18 发布
model.findAndCountAll({
where: sequelize.where(sequelize.fn('FIND_IN_SET', uid, sequelize.col('users')), '>', 0)
})