2张表select tb1.name as name,tb1.id as id,(select count(1) from tb2 where tb1.type = tb2.type) as countfrom tb1用sequelize的方法应该怎么去实现,得到这样的结果是用include吗,还有where怎么写。
添加回答
举报
0/150
提交
取消
举报