[Catalyst] has_many but no left join?!

Francisco Obispo fobispo at isc.org
Tue Jun 18 18:13:26 GMT 2013


Again,

I think you want to use 'prefetch'.



On Jun 18, 2013, at 11:09 AM, Robert Wohlfarth <rbwohlfarth at gmail.com> wrote:

> Ah, well then I answered the wrong question :)
> 
> How about this code?
> $c->model('MyApp::IndexStatus')->search({'old_statuses.id' => undef},{join=>'old_statuses'})
> 
> 

Francisco Obispo 
Director of Applications and Services - ISC
email: fobispo at isc.org
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
PGP KeyID = B38DB1BE




More information about the Catalyst mailing list