I am looking to pull items from a postgres data base with Sequelize, but only return items that have an id that does not equal any items in a given array.
In the Sequeli
using
const Op = Sequelize.Op where: { id: {[Op.notIn]:[1, 2, 3]} }
See operators:
Sequelize exposes symbol operators that can be used for to create more complex comparisons