GET Max Value of some field
sachinda123456 opened this issue · 1 comments
sachinda123456 commented
I need to calculate max value of number field . I used sequelize adeptor . If there any method to get max value with out executing row query
with using this.adapter or any thing else
icebob commented
You can reach the Sequelize instance via this.adapter.db
and the model via this.adapter.model
. With them, you can make aggregation directly with Sequelize.