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.



Reply via email to