perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Terrence Brannon <metap...@urth.org>
Subject Re: DBIx::Recordset andLongNames error
Date Tue, 30 Dec 2003 16:36:06 GMT
Kaare Rasmussen wrote:

>>I think the big problem with doing something like this is that updates
>>to multiple tables should be wrapped in a transaction.
>>    
>>
>
>Well, I'd leave that for the user to decide.
>
>  
>
>>And I certainly don't think Recordset can do this at the moment.
>>    
>>
>
>There's a $set -> Begin. Not sure how to use it though as I'd prefer to begin 
>my transaction before any read, but I guess it's like this
>
>  my $set = DBIx::Recordset -> Search ({ %search });
>  $$set -> Begin;
>updates, deletes and inserts
> $$set -> Commit;
>
>  
>
In the version I will release to CPAN today those functions are 
implemented and
should be useable.




Mime
View raw message