[CDBI] Joins & custom relationships

Kate Yoak kate at tomorrowsearch.com
Sat May 6 01:25:02 BST 2006


Class::DBI::Sweet says
 MyApp::Artist->search({ 'cds.tags.tag' => 'Shiny' });This looks really
cool, and most importantly it works!  My question is - how do I make my
custom relationship class participate?  That is, what kind of information do
has_a, has_many & might_have store in the object to make joins work?

That part of the code is pretty opaque, and it's likely Matt or someone can
tell me exactly what i am looking for right away :-)

Cheers,
Kate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digitalcraftsmen.net/mailman/private/classdbi/attachments/20060505/043dfee4/attachment.html


More information about the ClassDBI mailing list