> > I've had a quick google and scan of the docs but can't find anything
> > about updating multiple records at once.

Ash:
> 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.

On 25/01/2008, Jonathan Rockway <[EMAIL PROTECTED]> wrote:
> How about:
>
>    $schema->resultset('SomeTable')->search({ records => 'to update' })
>        ->update({ foo => 'bar' });
>
> That's the idea behind the ResultSet; you get one and you do stuff to it

Rawk!

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to