Good morning,

On 3/10/10 at 2:42 PM +0200, David Schmidt <[email protected]> wrote:

>How to express this query for DBIx::Class is beyond my still evolving
>DBIC skills.

Without seeing some of your schema, real examples won't be possible. This might 
get you started.

$pictures_rs->search(
  {
    'tags.id' => { -in => \...@tag_ids }
  },
  {
    join => { 'picture_tags' => 'tags' }
  }
);


Charlie

-- 
   Ꮚ Charlie Garrison ♊ <[email protected]>
   
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to