I want to fetch array that is sorting as per its include length
Category.findAll({
include: [
{
model: db.product,
as: "products",
}
],
})
I want to arrange the array of category as per length of fetched products
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)