[CDBI] Preloading objects when using a view

Juan Camacho jc5826 at gmail.com
Wed Mar 29 14:38:35 BST 2006


On 3/28/06, Bill Moseley <moseley at hank.org> wrote:
> It would be nice to do something like:
>
>     __PACKAGE__->has_a( artist_name => ['Music::Artist', 'name' ] );
>

Nothing much I can contribute here :) I simply wanted to say that it
would also be nice that the implementation include an option for a
LEFT JOIN.  In that way, you are guaranteed to have the CD data and it
would be closer to the results you get from doing two calls to the db.




More information about the ClassDBI mailing list