News for hackers. Stuff that matters.
Re:Is ORM still an anti-pattern? by Pepe1vo on Tuesday June 27, 2023 @04:59PM (#36498580)
Coincidentally I had to solve this problem at work a few weeks ago. I don't know how (or if) other ORMs deal with this, but for TypeORM it was relatively painless to implement optimistic concurrency[0] along with transactions at function-scope level which all but eliminates this issue.

[0]https://en.wikipedia.org/wiki/Optimistic_concurrency_control

There are no comments on this comment yet.