[html-formfu] RFC - Transactions for DBIC updates

Ascii King tech at swattermatter.com
Wed Sep 2 16:27:14 GMT 2009


Mario Minati wrote:
> Hi @all,
>
> I need to use transactions for all my db update and create actions. 
> Currently FF:M:DBIC doesn't support this. I'd like to extend the 
> update method to start a transaction, if an attribute is defined (e.g. 
> 'use_transaction').
> To avoid nested transactions, as update is also called internally, I 
> would introduce a class variable which stores our transaction state.
>
> Do you agree with that?
>
> Greets,
>
> Mario
>
> _______________________________________________
Transactions would be pretty useful to me.



More information about the HTML-FormFu mailing list