Hi All
I am getting this error
Caught exception in GlobalDC::C::Host->list
"DBIx::Class::ResultSet::all(): Prefetch not supported with accessor
'multi' at /globaldc/web/dev11/catalyst/lib/GlobalDC/C/Host.pm line 173"
Here is my code
my @hosts = $c->model('Local::Host')->search(
{ -and => [{'problems.status' => ['error', 'warning']}, @search] },
{join => [qw/ problems /], select =>
['me.hostname','me.ip','me.console','me.escalation_group','problems.status'],
distinct => 1, order_by => 'hostname', cache => 1})->all;
I am able to understand the error message.. Please help!
Regards
-Ram
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/