It would be nice to have something similar to this sql: UPDATE balancesEntity SET balance = balance + delta.
This would allow me to have a cached balance entity (instead of fetching a full list of transactions and calculating the balance each time) while avoiding race conditions
It would be nice to have something similar to this sql:
UPDATE balancesEntity SET balance = balance + delta.This would allow me to have a cached balance entity (instead of fetching a full list of transactions and calculating the balance each time) while avoiding race conditions