can't translate MySQL code into Sequelize query

前端 未结 0 1601
慢半拍i
慢半拍i 2021-01-22 06:19

Help compose raw queries to sequelize with models.

I have a clean query like (MySQL):

SELECT UserId, SUM(score) as score
FROM works
WHERE UserId
IN (SELECT         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题