AnyEvent::DBI and transactions

Andrey Khlopenov khlopenov.andrey at gmail.com
Thu Apr 17 09:44:20 CEST 2014


2014-04-17 10:08 GMT+03:00 Marc Lehmann <schmorp at schmorp.de>:

> On Tue, Apr 15, 2014 at 01:53:53PM +0300, Andrey Khlopenov <
> khlopenov.andrey at gmail.com> wrote:
> > Is there right way to work with AnyEvent::DBI and transactions?
>
> Basically the same way as with DBI - you start a transaction, do stuff,
> then commit or rollback.
>
> Do I need do stuff in a callback of begin_work for check, that start of
transction was succesful?
Have you small example of working code with begin_work and commit?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20140417/a30fb5d9/attachment.html>


More information about the anyevent mailing list