On 04/03/2017 11:17 PM, Artyom Shalkhakov wrote:
2017-04-04 4:42 GMT+06:00 Ziv Scully <[email protected]>:
My understanding is that Ur/Web already packages entire page handlers as a
single transaction. You don't have to worry about two dml statements in the
same page handler being interrupted in between by another thread: all the
SQL happens at "the same time" when the page handler finishes. (According to
the manual, this is guaranteed by later Postgres versions, but other DBMSs
are flaky.)

Does Ur/Web implement application transactions transparently to the
programmer? Or does it use database transactions throughout?

Every page handler invocation runs in its own transaction.


_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to