Answer the question
In order to leave comments, you need to log in
How to get data based on conditions?
I get data using sequelize, I need to get from the database only those rows where amount>0, for example, what should I add to where?
Answer the question
In order to leave comments, you need to log in
{ amount: { [Op.gt]: 0 } }
https://sequelize.org/master/manual/model-querying...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question