I am using Sequelize ORM to fetch data from db
.findAll({
attributes: ['value'],
where: {
code: { [Op.like]: 'images_default_droplet_%' },
is_published: 1
}
})
and it return like this:
{"value":"data"}
can I just get the data only without the field name?
return that I want like this:
{"data"}