select * from actionlog where JSON_EXTRACT(action, '$name')='reward'
const actionLogs: ActionLog[] = await ActionLog.findAll({
where: Sequelize.where(
Sequelize.fn('JSON_EXTRACT',
Sequelize.col('action'),
'$.name'),
'reward')
})
No comments:
Post a Comment