标签: node.js sequelize.js
我想在我的应用程序中使用Eager加载。
db.Shop.findAll({where:{id:shopId},{ include: [ db.ShopTranslation ] }) .then(function(s) { res.jsonp(s); });
我编写了上面的代码,但它不包括ShopTranslation。我相信我的模特是对的。