in reply to Problems using DBIxResultSet in Catalyst

Try upgrading? What module versions do you have? perl -MDevel::ModuleDumper yourstuff.pl

Can you try and work up an example using https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.08270/examples/Schema so that I/we can try it with minimal effort on our part? :)

  • Comment on Re: Problems using DBIxResultSet in Catalyst

Replies are listed 'Best First'.
Re^2: Problems using DBIxResultSet in Catalyst
by LunarCowgirl (Sexton) on Aug 14, 2014 at 19:44 UTC

    All the modules are up to date. They've been installed within the last week.

    I finally discovered the problem, or at least a solution. Instead of using the examples listed in the docs in my original post, I found the more direct Catalyst approach:

    my $rs = $c->model('DB::Users')->search({}, {order_by => 'num DESC', r +ows => 10, result_class => 'DBIx::Class::ResultClass::HashRefInflator +'});
    It all works now. Thanks for your help anyway. :)