"Aaron Trevena" <[EMAIL PROTECTED]> writes:

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

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
:)

Regards,
Jonathan Rockway

_______________________________________________
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