2張表select tb1.name as name,tb1.id as id,(select count(1) from tb2 where tb1.type = tb2.type) as countfrom tb1用sequelize的方法應該怎么去實現(xiàn),得到這樣的結果是用include嗎,還有where怎么寫。
添加回答
舉報
0/150
提交
取消