select fields sequelize code example
Example 1: sequelize get only one column
Project.findAll({attributes: ['name', 'age']}).on('success', function (projects) {
console.log(projects);
});
Example 2: SEQUELIZE OR
"SELECT * FROM Student WHERE LastName='Doe' OR FirstName in ("John","Jane") OR Age>18"