Y
Hacker News
new
|
ask
|
show
|
jobs
by
evanweaver
1781 days ago
I guess most ORMs are like that. Is the object shared by reference across the entire runtime or do you end up with divergent objects?
1 comments
sargun
1781 days ago
It's only valid in the context of that function invocation. The docs say not to write impure functions or do anything with concurrency -- if you start two simultaneous transactions, the client isn't "smart" about it unfortunately.
link