I am using sequelize in my project. I am using the following format to get the results. But each row in the result is returned as textRow. Is it ok if I can directly access using the index or Do I need to convert textrow? Need your suggestions.
const testQuery = await sequelizeConn.query(`select * from users where user_name = '${reqParams.userName}'`, {
raw: true
})
if(testQuery && testQuery.length > 0 && testQuery[0].length > 0){
}