|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Issues with DBIx::Classby Your Mother (Archbishop) |
| on Mar 23, 2022 at 04:40 UTC ( [id://11142302]=note: print w/replies, xml ) | Need Help?? |
|
DBIC defaults to always using objects, whether that’s an iterator, a table, a row, a resultset. You have to do things like $rec->columns otherwise. What you probably want is DBIx::Class::ResultSet::HashRef. You include it in your ResultSet class’s hierarchy, not the Result class, and it gives you options to return pure data structures. Docs should get you going.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||