sequelize include nested association code example
Example: nested include sequelize
models.products.findAll({
include: [
{model: models.comments, include: [models.comments.users] }
]
})
models.products.findAll({
include: [
{model: models.comments, include: [models.comments.users] }
]
})