📅  最后修改于: 2022-03-11 15:02:53.884000             🧑  作者: Mango
User.findAll({
include: [{
model: Project,
through: {
attributes: ['createdAt', 'startedAt', 'finishedAt'],
where: {completed: true}
}
}]
});