4 ms·
Not sure what you mean by multi-stage transactions? It applies for ordinary transactions - its just a way to avoid passing a transaction parameter everywhere bu
by spion 11y ago
Not sure what you mean by multi-stage transactions? It applies for ordinary transactions - its just a way to avoid passing a transaction parameter everywhere but still guaranteeing that the entire batch of queries executed within a single transaction.
I don't think the problems I'm describing here are all that uncommon in server-side code. Continuation local storage (the equivalent of thread local storage) in particular seems to be an often requested feature by many users in node.