[Dbix-class] Howto create multiple rows with INSERT INTO () SELECT FROM

Joerg Braun joerg at braun-senden.de
Mon Sep 20 07:32:06 GMT 2010


I can update a bunch of rows with resultset->search(...)->update(...).

Is it possible to model with DBIC an SQL like

INSERT INTO <table> ( <cols>) SELECT <cols> FROM <table> WHERE <cond>;

Thank You for any hints.



More information about the DBIx-Class mailing list