in reply to Re^2: Class::DBI weirdness sql error
in thread Class::DBI weirdness sql error
Yea, my columns definition is wrong. It's expecting a hash with the id being 'All'. So,# within FS::Model::Items->new(); $self->table('items'); $self->columns( qw/item item_type name lng lat zip url phone fax address/ );
Done. It works. Boo carelessness.# within FS::Model::Items->new(); $self->table('items'); $self->columns( All => qw/item item_type name lng lat zip url phone fax address/ );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Class::DBI weirdness sql error
by trwww (Priest) on Mar 04, 2009 at 05:34 UTC | |
by JavaFan (Canon) on Mar 04, 2009 at 10:27 UTC | |
|
Re^4: Class::DBI weirdness sql error
by JavaFan (Canon) on Mar 04, 2009 at 10:24 UTC |