[Dbix-class] updating multiple records at once

Ash Berlin ash_cpan at firemirror.com
Fri Jan 25 18:26:10 GMT 2008


On Jan 25, 2008, at 6:08 PM, Aaron Trevena wrote:

> Hi people,
>
> I've had a quick google and scan of the docs but can't find anything
> about updating multiple records at once.
>
> I have several scenarios where administrators regularly set a
> particular field in between 50 and 250 records at a time, and hope I
> can move that from the current large number of updates, to single
> updates.
>
> Any pointers much appreciated.
>
> Thanks
>
> A.
>
> --  
> http://www.aarontrevena.co.uk
> LAMP System Integration, Development and Hosting
>

You are lookign for the update method on the result set. go read/ 
experiment with that and come back if you cant make sense of it.




More information about the DBIx-Class mailing list