Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize order by date

Users.findAll({ order: [['updatedAt', 'DESC']]}); // or ASC
 
PREVIOUS NEXT
Tagged: #sequelize #order #date
ADD COMMENT
Topic
Name
6+6 =