Haki Benita
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”.

--

--

Haki Benita
Haki Benita

Written by Haki Benita

Full Stack Developer, Team Leader, Independent. More from me at https://hakibenita.com

No responses yet