On Mon, 2014-04-21 at 12:21 +0800, Elias Mårtenson wrote: > I think that I should probably implement SQL∆with_transaction. It > belongs in the SQL layer. It's also the only way to ensure that > transaction rollback on error is handled correctly.
I agree that that's probably the right place to do it. Would it be in the library (C) or in the wrapper (APL)? I kind of like the operator approach (as in the component file code), but my implementation might not be sufficiently general for other applications.