1 min readOct 22, 2017
Hey Luke,
You are absolutely right. For simple update operations this is another way to go.
The post referenced in this article describes a more elaborate example where each action on the balance is also written to a log table. In this case you need to operate within a db transaction and the starting balance is “locked”.