Using Sequelize I can perform raw queries and send params securely (thanks to database bound params via parameters:
const baz = 1;
sequelize.query(
'select * from foo where bar=:baz',
{ replacements: { baz } },
);
Is there a similar way to address the IN (with multiple values)?
const baz = [1, 2, 3];
sequelize.query(
'select * from foo where bar IN (:baz)',
{ replacements: { baz } },
);