sequelize filter not in query code example
Example 1: sequelize not equal
const { Op } = require("sequelize");
column: {[Op.ne]: value},
Example 2: sequelize where more than
// Number comparisons
[Op.gt]: 6, // > 6
[Op.gte]: 6, // >= 6
[Op.lt]: 10, // < 10
[Op.lte]: 10, // <= 10
[Op.between]: [6, 10], // BETWEEN 6 AND 10
[Op.notBetween]: [11, 15], // NOT BETWEEN 11 AND 15