Again, I think you want to use 'prefetch'.
On Jun 18, 2013, at 11:09 AM, Robert Wohlfarth <[email protected]> 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: [email protected] Phone: +1 650 423 1374 || INOC-DBA *3557* NOC PGP KeyID = B38DB1BE _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
