I am using Sequelize to retrieve data from a legacy mysql database. One of the columns in the table is a blob, so sequelize returns a buffer.
Is it possible to return the blob as text or as a string using Sequelize? Or will i need to loop through the array of objects and convert them?
Thanks for the help!
Similar code:
await findAll({
where: {
date: { $gte: sevenDaysAgo },
newsSource: sourceList,
},
order: ['date'],
raw: true,
});