Re:What ORMs Have Taught Me: Just Learn SQL (2014)
by blmsjw on Wednesday October 21, 2020 @09:00AM
(#24847383)
I think as long you keep use stored procedures as atomic operations/transactions it both simplifies code and improves performance. In your example, a transfer money procedure should handle both the balance increment and decrement of all accounts involved in a transaction before returning. Things start to get hard to maintain if you have stored procedures that only complete a portion of the business logic and rely on code in the business logic to “understand” what still needs to be done
[ Parent
| on HN ]
There are no comments on this comment yet.