0
SELECT client_name,mid_number,user_name,PASSWORD
FROM automation_run_log
WHERE LENGTH(schedule_status="FAILED") > 0
GROUP BY client_name
マイコード:これはどのようにして続けるのですか?
automationRunLog.findAll({
attributes : ["clientName","midNumber","userName","password"],
where : sequelize.where(sequelize.fn('length', sequelize.col('schedule_status')),"FAILED"),
group : ['clientName']
}).then(function (clientDtls) {
console.log(clientDtls)
})
は、私がwhere句で$gt:0
与えるのですか?