0
I have the following code thingy:
const buys = await Buy.findAll({
  where: {
    account_id: req.params.id,
  },
  attributes: ['id', 'account_id', 'buy_value', 'quantity'],
});
return res.json(buys);
That returns me the following JSON:
{
    "id": 9,
    "account_id": 3,
    "buy_value": "49521.00",
    "quantity": 2
}
I would like to return within the same JSON, a field teste that multiplies the fields buy_value and quantity. How can I do ?