[Dbix-class] copying rows from select
Peter Rabbitson
rabbit+dbic at rabbit.us
Sat Jan 21 13:30:51 GMT 2012
Roland Philibert wrote:
> Hi all,
> I am new on the subject..please excuse my ignorance!
>
> Am trying to find the most efficient way of doing a simple copy of rows
> such as in sql: INSERT INTO table (col1, col2, col3, ...) SELECT col1,
> col2, col3, ... FROM table WHERE primarykey = xx
>
There isn't such functionality available yet, but it isn't
very hard to write it. Would you be willing to spend time
implementing this? All the APIs have already been worked out
and you will receive all the guidance you need. We just don't
seem to have the actual time to write it :)
Cheers!
More information about the DBIx-Class
mailing list