![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: DBIx::Class and many-to-many searchingby castaway (Parson) |
on May 30, 2006 at 09:36 UTC ( #552439=note: print w/replies, xml ) | Need Help?? |
Hi,
If you already have an array of tag row objects, then you want to do something like this:
This is basically an SQL::Abstract construct, look there for details. (Untested!) C. Update: Fixed code.. maybe PS: This will return all articles with any of the tags in @with, there's a discussion going on in #dbix-class as to whether you wanted any, or all of them.. Please give an example of the SQL you'd like to produce, for further help
In Section
Seekers of Perl Wisdom
|
|