I am retrieving the account_id and its corresponding current balance in order to go update the record with the new balance.
account_id=record.account_id
current_balance=record.balance
new_balance=current_balance + 5
Account |> where(id: ^account_id) |> update(set: [balance: new_balance]) |> Repo.update_all()






















