Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
francislavoie
3mo ago
0 comments
Share
Unfortunately a lot of our tests use transactions themselves because we lock the user row when we do anything to ensure consistency, and I'm pretty sure nested transactions are still not a thing.
undefined | Better HN
0 comments
default
newest
oldest
hu3
3mo ago
You can emulate nested transactions using save points. A client uses that in production. And others in unit tests.
pak9rabid
3mo ago
Bingo...this is how I get around that.
j
/
k
navigate · click thread line to collapse