sequelize return one column code example
Example: sequelize get only one column
Project.findAll({attributes: ['name', 'age']}).on('success', function (projects) {
console.log(projects);
});
Project.findAll({attributes: ['name', 'age']}).on('success', function (projects) {
console.log(projects);
});