<div dir="ltr">2014-04-17 10:08 GMT+03:00 Marc Lehmann <span dir="ltr"><<a href="mailto:schmorp@schmorp.de" target="_blank">schmorp@schmorp.de</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Tue, Apr 15, 2014 at 01:53:53PM +0300, Andrey Khlopenov <<a href="mailto:khlopenov.andrey@gmail.com">khlopenov.andrey@gmail.com</a>> wrote:<br>
> Is there right way to work with AnyEvent::DBI and transactions?<br>
<br>
</div>Basically the same way as with DBI - you start a transaction, do stuff,<br>
then commit or rollback.<br>
<span class="HOEnZb"></span><br></blockquote><div>Do I need do stuff in a callback of begin_work for check, that start of transction was succesful?<br></div><div>Have you small example of working code with begin_work and commit?<br>
</div></div></div></div>