Answers for "sequelize query length count"

0

Count Sequelize

MyModel.count({
  include: ...,
  where: ...,
  distinct: true,
  col: 'Product.id'
})
.then(function(count) {
    // count is an integer
});
Posted by: Guest on October-21-2021

Browse Popular Code Answers by Language