Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize get only one column

Project.findAll({attributes: ['name', 'age']}).on('success', function (projects) {
  console.log(projects);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequelize #column
ADD COMMENT
Topic
Name
3+6 =