[Dbix-class] Filtering with Many-to-Many relationship

Wallace Reis reis.wallace at gmail.com
Tue Sep 22 12:59:50 GMT 2009


On Tue, Sep 22, 2009 at 7:23 AM, Oleg Kostyuk <cub.uanic at gmail.com> wrote:
> I think, you just need to join twice with tags table, and this will
> give you what you want:

And if you need products which have 3 or more tags? One join per tag?
It is not ideal.

-- 
     wallace reis/wreis         Catalyst and DBIx::Class consultancy with a clue
     Software Engineer		and a commit bit: http://shadowcat.co.uk/catalyst/
 Shadowcat Systems Limited
 http://www.shadowcat.co.uk     http://www.linkedin.com/in/wallacereis



More information about the DBIx-Class mailing list