in reply to Issues with DBIx::Class
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.
|
---|