get one column from a model sequelize 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);
});