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

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.