How to set a limit on the Sequelize Model using Sequelize.FLOAT?

后端 未结 0 1249
误落风尘
误落风尘 2021-02-11 00:54

I\'m trying to make a sequelize model as below and want to add a limit between 0.0 and 4.0 I was unable to find any documentation on setting the max and min value for Sequelize.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题