this.User.findAll({
attributes: ['id', [sequelize.literal("firstname ||
' ' || lastname "),"
fullName "],"
fullName "],where: {
fullName: {
[Op.like]: '%' + searchData + "%"
}
}
})
//SQLITE_ERROR: no such column: fullName