Hi,
Attached is a patch to answer the DBIx::Class::Manual::FAQ currently
titled "insert many rows of data efficiently".
HTH,
regards,
oliver.
--
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services
Index: trunk/lib/DBIx/Class/Manual/FAQ.pod
===================================================================
--- trunk.orig/lib/DBIx/Class/Manual/FAQ.pod (revision 3828)
+++ trunk/lib/DBIx/Class/Manual/FAQ.pod (working copy)
@@ -340,8 +340,13 @@
->add_columns({ id => { sequence => 'mysequence' } });
-=item .. insert many rows of data efficiently?
+=item .. insert a collection of rows at the same time?
+Take the hashref structures you would normally pass into
+L<create|DBIx::Class::ResultSet/"create"> and put
+them together into an arrayref. Pass this to L<DBIx::Class::ResultSet>'s
+L<populate|DBIx::Class::ResultSet/"populate"> method.
+
=item .. update a collection of rows at the same time?
Create a resultset using a search, to filter the rows of data you
_______________________________________________
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]