tomgracey has asked for the wisdom of the Perl Monks concerning the following question:
Dear fountains of perl knowledge
I have been making DBIx::Class packages and writing
__PACKAGE__->table('mytable'); __PACKAGE__->add_columns(qw/column1 column2 column3... /);
I am wondering... what if I simply want to include all of the table columns? Is there not a shorthand?
I couldnt find any reference to this anywhere - which usually means I have the basic concepts wrong...?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: __PACKAGE__->add_columns( all! ) in DBIx::Class ?
by arnaud99 (Beadle) on Mar 08, 2013 at 14:59 UTC |