Sequelize Increment option??? #16848
Unanswered
AruPant
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do we have an equivalent of $inc operator available in mongo to increase the value of a column by a specific value (to be sent via a variable) in Sequelize for Postgres?
I wasnt able to refer to a variable in Sequelize.fn()... and Model.increment has to be executed separately than an UPDATE command as my use case wants to update few columns and also increment another column value with a calculated value.
Any suggestions on whether we can realise this requirement in Sequelize for NodeJS?
Beta Was this translation helpful? Give feedback.
All reactions